Other Parts Discussed in Thread: SYSCONFIG, LP-AM263
Tool/software:
Hi
Had a working project with SDK 9 which could read/write SD cards via FREERTOS-FAT and MMCSD, now upgraded to SDK10 (with compiler, sysconfig etc. too). Devboard is LP-AM263.
Since with the new SDK does not works started to check what happens:
- linked FF_PRINTF to _DebugP_logZone I noticed the FF_Mount is not working anymore (seems to read lot of 0's in the background).
This for me hints the direction that the culprit is the MMCSD driver and not the Freertos-fat.
To do a doublecheck I did a pure MMCS test with the project C:\ti\mcu_plus_sdk_am263x_10_00_00_35\examples\drivers\mmcsd\mmcsd_raw_io
I get read error (and I have to mention that I did tried older sdk, older syscfg variant and that still can read files so the SD card is there and working):
There are two things which puzzles me:
- if I open the sycfg I get a screen like this:
which means the example project was never opened and updated to the new sycfg required by the new SDK 10.x (my syscfg is 1.21.1, tried with 1.21.0 no success either).
- the mmcsd configuration has a lot of new stuff on the config screen (comparing to the older sdk and sycfg 1.19).
One is the clock which is not a direct number anymore but a selector. One thing wrong here and it could cause the MMCSD to not work which I am experiencing.
Is there a working project which has MMCSD setup correctly to have a SD card working?
Or can anyone update the project from this thread to have it working?
Have to mention that we also have problems with ADC0 (freezes the whole system in ti driver init) thus this migration is not fun (and we have to because of the MCAN issues fixed in SDK10).
So any help is appreciated to have it migrated properly.
Best regards,
Barna Csenteri