Hi Rob
Thanks for your answer. I use serial software with baudrate 115200. This is only for seeing what is happening. Writing to the SD card is by SPI. I use this code: ;sd_start_write(30) --get sd card ready for write at sector 30 ; for count(molen) using teller loop ; sd_data_byte = molen[teller]
; format_dword_dec(serial_sw_data,teller,3,0) ; print_string(serial_data, " ") ; gegeven = molen[teller] ; print_byte_hex(serial_sw_data,gegeven) ; print_string(serial_data, " ")
; end loop ;sd_stop_write
The cursief part I made when I saw the problem by reading the SD card. So without the cursief part I noticed the problem. I too read the file on the SD card in Windows to be sure where was the problem. When I copy the file to the SD card in Windows: it works fine. I suppose the delay is coming after
sd_data_byte = molen[teller]
but how long?
Kind regards, Peter
Verzonden vanuit Mail voor Windows
Van: Rob CJ
Hi Peter,
I do not have enough information to answer your question. Which serial library are you using? Do you have a delay in writing to the serial interface since the SD card will be much faster than the serial interface and it might be that your computer is not able to keep up with it.
Kind regards,
Rob
Van: [email protected] <[email protected]> namens Zet Weeh <[email protected]>
Hi everybody
I have a picture in hex that is working fine on an oled. I want to use it on a sd-card that's build in ILI9341. When I use the sample of Matt I can write and read all of the sample; so it's working fine. The hex file is 500 bytes so one cluster. When I want to write and read the hex to the SD I can see in RealTerm that the writing is going fine till byte 400 and then it becomes a mesh. I changed the baudrate but that did not help. Has anybody a suggestion what is going wrong and what to do? Peter
-- --
You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/14191E31-FBE0-4539-8CF5-059E1C7ED497%40hxcore.ol. |
- [jallib] Sample of Matt for SD with fat 32 and problem wi... Zet Weeh
- Re: [jallib] Sample of Matt for SD with fat 32 and p... Rob CJ
- RE: [jallib] Sample of Matt for SD with fat 32 and p... ZetWeeh
- Re: [jallib] Sample of Matt for SD with fat 32 a... Rob CJ
- Re: [jallib] Sample of Matt for SD with fat ... Matthew Schinkel
