I need to use codewarrior IDE to program a micro SD card on FRWYLS1046A board.
In codewarrior IDE, the default SD card configuration for LS1046A_FRWY is only support 16GB. If I used a 32GB micro SD card, it throws a program error.
1) How to add a 32GB SD card configuration in codewarrior development IDE?
2) Is there any programming guide available?
The size of the sd card should not be a concern. It does not affect the way the algorithm works.
To have a different config for a larger SD, customer can look into <CW install path>/Config/flash/devices/SDSP16GB_LSCH2.xml
and create a custom xml file with a different name and change the sector count, size and name.
Optionally he can change the id.(it's optionally because the algorithm should not fail if the device has a different id)
Below is the content of the mentioned file and bolded are the changes:
<device-file>
<device>
<content>
<device_parameters>
<device_type>sd</device_type>
<manufacturerid>0x01</manufacturerid>
</device_parameters>
<name>SDSP16GB_LSCH2</name>
<sectors>
<sector count="30618419" size="0x200"/>
</sectors>
<organizations>
<organization depth="1913651M" width="8">
<id>0x4a54</id>
<algorithm>
<fpinclude href="algorithms/SD_MMC.xml"/>
</algorithm>
</organization>
</organizations>
</content>
</device>
</device-file>