Search found 84 matches

by Nico595
Mon Aug 27, 2012 12:45 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Hi,

What news Ben ?
by Nico595
Fri Aug 10, 2012 7:05 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Hi, For your back Ben :D I've tested my signal with LLC probe. I have even problem but may be less marked. It's Init_Fat sequence: First pulse group test SCK = 727KHz Second pulse group test SCK = 585KHz 3rd pulse groupe test SCK = 311KHz On transmit data sequence DI => SCK = 12MHz signal is perfect...
by Nico595
Tue Jul 31, 2012 10:25 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Ok, thank you David :D
by Nico595
Mon Jul 30, 2012 10:46 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Hi Ben,

I've not Logic Analyser, I don't see my signal.
I've tried with pull up resistor on MOSI, MISO and CS pin.
But the problem with create_file macro and speed of SPI is the even.

:wink:
by Nico595
Wed Jul 25, 2012 10:24 pm
Forum: Forums d'aide en français
Topic: EPPROM par Bus I2C?
Replies: 12
Views: 8371

Re: EPPROM par Bus I2C?

Je n ai pas verifié mais les echanges doivent etre identiques Christian, d ailleur j ai indiqué 02A que j ai repris du Shematic alors que j ai sur le pcb du 02B, cela fonctionne parfaitement.

Par contre je n ai pas le .fcm sous Flowcode V4 car je travail sous Flowcode ARM Pro V5.

:wink:
by Nico595
Wed Jul 25, 2012 7:09 pm
Forum: Forums d'aide en français
Topic: EPPROM par Bus I2C?
Replies: 12
Views: 8371

Re: EPPROM par Bus I2C?

Pas de soucis Daniel, ca fait une petite base graphique, si cela peu aider Christian ou d autres :D
by Nico595
Wed Jul 25, 2012 3:12 pm
Forum: Forums d'aide en français
Topic: EPPROM par Bus I2C?
Replies: 12
Views: 8371

Re: EPPROM par Bus I2C?

Bonjour, En effet Christian, comme l indique Nicolas, il faut eplucher la doc constructeur de l eeprom. Pour ma part je travail avec une 24C02A, voila ce que ca donne sous Flowcode avec l I2C Component. Write_EEprom http://prefaceweb.com/Matrix/write_eeprom.jpg Read_EEprom http://prefaceweb.com/Matr...
by Nico595
Wed Jul 25, 2012 12:22 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Why is nothing never easy :roll: Thank Ben for this informations Indeed, init_Fat with SDHC Card is ok, but reading speed is very low. You have found reason of problem, it remains to find the solution. Thus, Create_File macro have even problem ... May be, link with IO SDHC Card Specification https:...
by Nico595
Mon Jul 23, 2012 1:26 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Hi Ben, No excuse, Weekend is for relaxation and no working :wink: My card was powered with PA7 for reset, I have a problem, when I've readed card, I can't doing a new init_Fat, Card is no found. I must reset ARM for restart the reading card. I search later ... I'm very happy FAT16 is OK with SDHC C...
by Nico595
Sat Jul 21, 2012 9:23 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

With SDHC Card (test with two SDHC Card) I have NORESP ERROR. Problem with Mx_Init_Card ACMD command ... In Defines of FAT Component I add code error: //Common Defines #define MX_ERR_NOCARD 0xFF #define MX_ERR_NORESP 0xFE #define MX_ERR_SDHCNORESP 0x33 In Mx_Init_Card do { RetVal = MX_Send_Cmd(APP_C...
by Nico595
Sat Jul 21, 2012 4:23 pm
Forum: Forums d'aide en français
Topic: Vitesse différente entre simulation et carte [Résolu]
Replies: 5
Views: 4969

Re: Vitesse différente entre simulation et carte

Bonjour Yann, Pour les ATMega tu as des petits utilitaires comme Prog Isp qui sont bien pratique pour flasher via l ISP. Tu as ainsi facilement acces aux fuses. Quelques images valent mieux que de longs discours, Neuf, le µc est cadencé par son horloge interne RC, 8MHz http://prefaceweb.com/Matrix/p...
by Nico595
Sat Jul 21, 2012 12:07 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Ok :D , I've imagined a problem with MBR reading in init FAT, I've placed your lower speed SPI mode in Init_FAT macro and SDCard 2GO is OK with your latest FAT component code in SPI hardware. delay_ms(50); retval = MX_Get_Buffer(0); //Read Master Boot Record if available //if (retval) //{ // %a_SPI_...
by Nico595
Fri Jul 20, 2012 11:32 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

I've tested with new component FAT16(1) and replaced Init_Fat macro in .fcm prog but even problem, retval = 237

...
by Nico595
Fri Jul 20, 2012 7:58 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Very good news :D Thank Ben for your working, My hardware is like this dev card: https://www.olimex.com/dev/pdf/SAM7S-P64.pdf I use SPI hardware. For test, I can take Olimex dev card. With Flowcode, in macro component, I have Mx_macro duplicate, may be problem with new component file .c I search thi...
by Nico595
Fri Jul 20, 2012 2:14 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

I've tried with FC5_PIC_FAT16.c version2 and new CAL file: The better result, Without change code in component Macro Init Card is OK, but with this problem of bad folder name ... FC5_PIC_FAT16.c version2 Right I have found a couple of bugs that meant that the sector read and write functions were not...
by Nico595
Fri Jul 20, 2012 1:35 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Ok Ben, I have Retval = 237 with this Mx_Init_Card. If I replace Mx_Init_Card by this Mx_Init_Card it's OK with 2GO SDCard and new CAL, FAT, files. MX_UINT8 RetVal; MX_SINT16 i; delay_ms(50); //Wait for card to power up //Init SPI %a_SPI_Master_Init(); //Call initialise function FC_CAL_Bit_High_DDR ...
by Nico595
Fri Jul 20, 2012 12:09 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Hi Ben,

I test with my hardware immediately :D
by Nico595
Thu Jul 19, 2012 9:09 pm
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Super Ben :D

I stay in waiting ...

I use FAT16 component of V5 ARM in FAT16 and FAT32 with small change in macro, ok with SPI hardware.
by Nico595
Thu Jul 19, 2012 7:50 pm
Forum: Forums d'aide en français
Topic: Flowcode V5.3 ARM Pro -> Bug List
Replies: 8
Views: 6961

Re: Flowcode V5.3 ARM Pro -> Bug List

Hello Ben, Ok I found CAL folder, I test ... EDIT 19.07.2012: PWM Frequency is Ok but with a small problem but no great :) . My frequency should be ~ 47KHz at MCK 48MHz and prescaler = 4, Period Register = 255. But I have 55KHz with saturation on last bits of Period Register with Duty Cycle macro (b...
by Nico595
Thu Jul 19, 2012 11:03 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: v5 Beta FAT16 component SDHC

Hello Ben, (mp copy) Better but other problem: With SDCard No SDHC 2GO FAT32, Init FAT OK Next step -> Scan_Current_Folder OK But name of folder is no good, "TRON" becomes "puovpvpwpxq" Result -> Open Folder Error With SDHC SDCard Error 254 on Init FAT My prog is a loop of Init_Fat if Retval > 0 wit...
by Nico595
Wed Jul 18, 2012 11:21 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: SD Card not response

Ok Ben, For information: My Small SDCard is Transcend 2GO formated in FAT32, OK with old FAT component version (but with speed writting problem when data on card is > 100 MO). My SDHC Card is SanDisk 4GO 15MB/s Class 4 formated in FAT32 -> NORESP ERR Good Job for tonight, I hope it will work :) Nico...
by Nico595
Wed Jul 18, 2012 10:20 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: SD Card not response

Hi Ben, I ve renamed FC5_PIC_FAT16.c in FC5_ARM_FAT16.c and replaced in Components Folder. Unfortunately, component not working with all SDCard. - With SDCard no SDHC < 2GO, After Init FAT macro I have Retval = Dec 237 (0xED hex code error -> SECTBYTES ERROR) (Ok with old FAT component version) - Wi...
by Nico595
Wed Jul 18, 2012 12:42 am
Forum: Flowcode V5
Topic: v5 Beta FAT16 component SDHC
Replies: 52
Views: 32173

Re: SD Card not response

Thank you very much Ben :D ,

I test this component today with my SDHC Card.

:wink:
by Nico595
Wed Jul 18, 2012 12:39 am
Forum: Forums d'aide en français
Topic: Flowcode V5.3 ARM Pro -> Bug List
Replies: 8
Views: 6961

Re: Flowcode V5.3 ARM Pro -> Bug List

Great :D

Thank Ben, I test today.
by Nico595
Mon Jul 09, 2012 4:49 pm
Forum: Forums d'aide en français
Topic: Flowcode V5.3 ARM Pro -> Bug List
Replies: 8
Views: 6961

Re: Flowcode V5.3 ARM Pro -> Bug List

Bonjour Benj Hello Benj Merci pour vote retour, Thanks for your reply J attends avec impatience votre Beta version du Component FAT en SDHC, je vous ferais un topo complet tres rapidement de son fonctionnement. I waiting your Beta Version of FAT Component. EDIT 10.07.2012: Il y a un autre probleme i...