Hi,
i've messed up one digi unc90 (CC9U) module (erased bootloader) and having trouble getting it to work.
jflash-lite did not have the AT91RM9200 so i use j-link
- connecting a working module
device AT91RM9200
speed 12000
r
savebin c:\unc90\uok-boot.bin, 10000000 3ffff
this file looks like an u-boot.....
- loading this to ram
loadbin c:\unc90\uok-boot.bin, 0x00210000
savebin c:\unc90\uok-writeback.bin, 0x00210000 3ffff
the files uok-boot.bin and uok-writeback.bin are diffrent
- connecting the broken module:
loadbin c:\unc90\uok-boot.bin, 0x10000000
J-Link>loadbin c:\unc90\uok-boot.bin, 0x10000000
Downloading file [c:\unc90\uok-boot.bin]...O.K.
J-Link>
**********************
Here some output is missing as mentioned in segger.com/jlink-flash-download.html
Also loading this to ram
- loading this to ram
loadbin c:\unc90\uok-boot.bin, 0x00210000
- and
setpc 0x00210000
g
did not work,
J-Link>loadbin c:\unc90\uok-boot.bin, 210000
Downloading file [c:\unc90\uok-boot.bin]...O.K.
J-Link>mem 210000,128
00210000 = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00210010 = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SEGGER J-Link Commander V4.98a ('?' for help)
Compiled Mar 26 2015 18:40:28
DLL version V4.98a, compiled Mar 26 2015 18:40:07
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N: 38000040
OEM: DIGI-LINK
Feature(s): GDB
VTarget = 3.261V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: CP15.0.0: 0x41129200: ARM, Architecure 4T
Info: CP15.0.1: 0x0D172172: ICache: 16kB (64*8*32), DCache: 16kB (64*8*32)
Info: Cache type: Separate, Write-back, Format A
Found 1 JTAG device, Total IRLen = 4:
#0 Id: 0x05B0203F, IRLen: 04, IRPrint: 0x1, ARM920T Core (Atmel)
Found ARM with core Id 0x05B0203F (ARM9)
ETM V1.3: 4 pairs addr.comp, 2 data comp, 8 MM decs, 2 counters, sequencer
Target interface speed: 100 kHz
J-Link>
thanks for any help
jens
i've messed up one digi unc90 (CC9U) module (erased bootloader) and having trouble getting it to work.
jflash-lite did not have the AT91RM9200 so i use j-link
- connecting a working module
device AT91RM9200
speed 12000
r
savebin c:\unc90\uok-boot.bin, 10000000 3ffff
this file looks like an u-boot.....
- loading this to ram
loadbin c:\unc90\uok-boot.bin, 0x00210000
savebin c:\unc90\uok-writeback.bin, 0x00210000 3ffff
the files uok-boot.bin and uok-writeback.bin are diffrent
- connecting the broken module:
loadbin c:\unc90\uok-boot.bin, 0x10000000
J-Link>loadbin c:\unc90\uok-boot.bin, 0x10000000
Downloading file [c:\unc90\uok-boot.bin]...O.K.
J-Link>
**********************
Here some output is missing as mentioned in segger.com/jlink-flash-download.html
Also loading this to ram
- loading this to ram
loadbin c:\unc90\uok-boot.bin, 0x00210000
- and
setpc 0x00210000
g
did not work,
J-Link>loadbin c:\unc90\uok-boot.bin, 210000
Downloading file [c:\unc90\uok-boot.bin]...O.K.
J-Link>mem 210000,128
00210000 = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00210010 = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SEGGER J-Link Commander V4.98a ('?' for help)
Compiled Mar 26 2015 18:40:28
DLL version V4.98a, compiled Mar 26 2015 18:40:07
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N: 38000040
OEM: DIGI-LINK
Feature(s): GDB
VTarget = 3.261V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: CP15.0.0: 0x41129200: ARM, Architecure 4T
Info: CP15.0.1: 0x0D172172: ICache: 16kB (64*8*32), DCache: 16kB (64*8*32)
Info: Cache type: Separate, Write-back, Format A
Found 1 JTAG device, Total IRLen = 4:
#0 Id: 0x05B0203F, IRLen: 04, IRPrint: 0x1, ARM920T Core (Atmel)
Found ARM with core Id 0x05B0203F (ARM9)
ETM V1.3: 4 pairs addr.comp, 2 data comp, 8 MM decs, 2 counters, sequencer
Target interface speed: 100 kHz
J-Link>
thanks for any help
jens