Today I made a PIC32 output graphics on a small TFT.
1/2 of the FLASH used up.
Then I adapted a C source for FAT32 (SD card).
It was not able to find free sections anymore.
Have to remove the chip + solder in one with double memory.
210MX-16D
120MX-32D
Only had the idea to use SD card today, saw a few SD card readers around, and I was thinking that could be easier than to use the USB stack and write a Windows software as well.
So far it compiles successfully. All bitbanged same like the small TFT, can change later to use hardware serial port.
I did not know the memory gets used up so fast (apparently each instruction needs 4 bytes, so 16K is just like 4K instructions).
Configuration is much more effort, but got it working.
If I use 128K version of that chip, costs 5 dollars, but guess, in the end it is not really cutting it.
1/2 of the FLASH used up.
Then I adapted a C source for FAT32 (SD card).
It was not able to find free sections anymore.
Have to remove the chip + solder in one with double memory.
210MX-16D
120MX-32D
Only had the idea to use SD card today, saw a few SD card readers around, and I was thinking that could be easier than to use the USB stack and write a Windows software as well.
So far it compiles successfully. All bitbanged same like the small TFT, can change later to use hardware serial port.
I did not know the memory gets used up so fast (apparently each instruction needs 4 bytes, so 16K is just like 4K instructions).
Configuration is much more effort, but got it working.
If I use 128K version of that chip, costs 5 dollars, but guess, in the end it is not really cutting it.
Attachments
-
106 KB Views: 83