ErichStyger / mcuoneclipse

McuOnEclipse Processor Expert components and example projects
Other
731 stars 1.29k forks source link

minINI: writing to the sd card #48

Closed vrmadishetty closed 3 years ago

vrmadishetty commented 3 years ago

Thanks for the blog Erich.

I am trying to integrate minINI with Fatfs in baremetal. Everything seems working until I try to write a value or string to the Key in its sections. While trying to write with ini_putl & in_puts, the unnecessary files has been creating inside with size of 524787 bytes . And the actual files inside the card been changes and not able to open the files.

I have not defined read-only in the header. What causing the issue ? ini_puts2

ErichStyger commented 3 years ago

It seems you are not missing that project on GitHub but something else wit MSD support? Using MSD in a bare metal environment could be problematic and challenging on its own, so I recommend that you use an RTOS instead. Other than that you could have dangling pointers, stack overflows or other memory problems. You would have to debug your code to find out what is going on. I doubt it is the problem of minINI.