|
Post by usbbdm on Jul 14, 2005 14:00:11 GMT -5
Here are some example to use the USB BDM on DCT box. You must first configure the software properly.
1. Backup firmware (PH7/PH8/PH9)
reset 1 init getram 400000 200000 save code
2. Backup firmware (other board)
reset 1 init getram 400000 200000 (Look at the address if 400000 looks like this 00 20 04 00 00 00 04 XX, then nothing need to be done. else use the testing tool to flip the firmwar."DCT Tesing->Flip Firmware") save code
3. Backup/Restore NVRAM (all platform) backup
reset 1 init getram 200000 40000 save nvram
Restore
reset 1 init ldram 200000 (selec the file you need to restore) setram 200000 40000
4. Program flash(PH7/PH8/PH9)
reset 1 init ldram 400000 (select the firmware you want to download) program (select proper flash type)
5. Program flash (Other board)
reset 1 init ldram 400000 (select the firmware you want to download) (If you need to flip firmware when read firmwar, flip the firmware as well). (Some of PH6 CR4 need to do this) program (select proper flash type)
6. Reset PPV (use 3 to backup your NVRAM first)
reset 1 init getram 200000 40000 Select DCT Testing PPV Info and press clear if needed setram 200000 40000
Check your PPV status.
7. Run your small applications. (For advance user only). Use assembly create .s file assemble and generate binary file. Make sure your application runs between range $D00000-$EF0000. eg. your application called snifferspi.bin runs at $D80000, length 400
reset 1 init ldram d80000 setram d80000 200 go= d80000 (or t=d80000)
|
|