[Solved] Programmer To Go SD Card Requirements
Hello forum,
this all started in another thread (this site /forums/m1116891 (dot) aspx) and worked in one way. Now I'm looking for another.
PICkit4 successfully programmed a dsPIC33EP128MC504 on the go through MPLabX v5.30 on Windows 7 Pro x64 with a 16 GB SD-Card inserted within the PICkit. That was a SanDisk Industrial 16 GB Micro SD HC I with a "1" in something like a "U" and a "10" in a "C"-like icon.
16 GB are way out of what we need to flash a PIC. There was only ~1 MB used on that card.
I have some 128 MB Cloudisk SD-cards which are labelled "CLASS" and a "4" in a "C"-like icon. All other things untouched, this one doesn't work. Here is what MPLab prints:
Connecting to MPLAB PICkit 4...
Currently loaded versions:
Application version............00.05.41
Boot version...................01.00.00
Script version.................00.03.33
Script build number............0540a22e50
PICkit 4 is supplying power to the target (3,25 volts).
Target device dsPIC33EP128MC504 found.
Device Revision Id = 0x4008
Calculating memory ranges for operation...
Erasing...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x25ff
configuration memory
Sending programmer to go information to the debug tool
An error occurred while creating the programmer to go image. Please retry the requested operation.
A communication error with the debug tool has occurred. The tool will attempt to recover momentarily.
[Edit]
It works, however, if I use the 16 GB card, then copy its content over to one of the 128 MB cards. Then, P2G works with a 128 MB card.
[/Edit]
Is that a problem of manufacturer, speed class (10 vs 4) or is there information somewhere what we have to look for to know in advance if an SD card will work?
[Edit 2]
Support informs that SD cards have to adhere to the SDHC standard.
(notwithstanding the insight from the first Edit)
[/Edit]
post edited by luker - 2019/11/12 03:50:36