03.08.2013 Views

AN4365, Qorivva MPC56xx Flash Programming Through Nexus/JTAG

AN4365, Qorivva MPC56xx Flash Programming Through Nexus/JTAG

AN4365, Qorivva MPC56xx Flash Programming Through Nexus/JTAG

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

; Pass input arguments<br />

R3 pSSDConfig<br />

R4 $40000<br />

R5 program_size<br />

R6 source_start<br />

R7 failAddress<br />

R8 failData<br />

R9 failSource<br />

R10 NULL_CALLBACK<br />

; Set stack pointer<br />

R1 Addr_StackTop<br />

; Set PC<br />

PC Addr_ProgramVerify<br />

; Run<br />

go<br />

<strong>Qorivva</strong> <strong>MPC56xx</strong> <strong>Flash</strong> <strong>Programming</strong> <strong>Through</strong> <strong>Nexus</strong>/<strong>JTAG</strong>, Rev. 0<br />

Demo calling basic SSD functions<br />

;======================= CheckSum for low block 1=================================;<br />

; Pass input arguments<br />

R3 pSSDConfig<br />

R4 $8000<br />

R5 program_size<br />

R6 Sum<br />

R7 NULL_CALLBACK<br />

; Set stack pointer<br />

R1 Addr_StackTop<br />

; Set PC<br />

PC Addr_CheckSum<br />

; Run<br />

go<br />

;====================== CheckSum for mid block 0===================================;<br />

; Pass input arguments<br />

R3 pSSDConfig<br />

R4 $40000<br />

R5 program_size<br />

R6 Sum<br />

R7 NULL_CALLBACK<br />

; Set stack pointer<br />

R1 Addr_StackTop<br />

; Set PC<br />

PC Addr_CheckSum<br />

; Run<br />

go<br />

;=============================END OF DEMO============================================;<br />

Freescale Semiconductor 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!