Programming SD Card over IDE (JTAG)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programming SD Card over IDE (JTAG)

962 Views
abady1000
Contributor III

Hello,

I have a custom board which contains SD Card and Macronix QSPI flash.

I was able to run SD Card but QSPI needs some modifications to get it working from Macronix QSPI.

 

Anyway, currently I am flashing my application to SD Card using Secure Provisioning Tool.

But it is painful to do this every time (build the application, build SD Image, Reset chip to Serial Downloader mode, Flash the image, return to SD Boot mode).

My questions are:

- Could I program the SD Card using JTAG port? (So I don't need to change the chip mode)

If this is not possible:
- Could I make a single script that (Build application, Create SD Boot Image, Flash the image)?

Note: I know SD is not meant to be used this way, but It is my only option right now, so I want to live with it

Thank you.

0 Kudos
Reply
2 Replies

926 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @abady1000 ,

 

Please kindly have my comments as below:

- Could I program the SD Card using JTAG port? (So I don't need to change the chip mode)

- Yes,it is possible, but you have to develop a new flash loader for that purpose. 

- Could I make a single script that (Build application, Create SD Boot Image, Flash the image)?

- Yes, it is possible, and that is also part of the SPT's task, but in this case, the SPSDK should be used.  Please kindly refer to https://www.nxp.com/design/design-center/software/development-software/secure-provisioning-sdk-spsdk... for details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

940 Views
abady1000
Contributor III

Any insights about this?

0 Kudos
Reply