Hi Chris,
Thanks for your suggestion.
I moved my test to a pristine linux machine, compiled+installed m68k-bdm tools. I tested bdm-chk on my 5485evb w/ onboard DBM interface, whereas my previous failed test was with a custom 5475 board with a wiggler-BDM interface. I had some measure of success with the eval board. I suspect there may be a difference between the two BDM interfaces. I know the wiggler interface was tested and works with a cyclone-max debugger. Do you know if the cyclone-max and the usb-tblcf have the same bdm interface? I think I read somewhere that the tblcf has a simplified interface.
I detected my usb-tblcf device as /dev/tblcf2.
There still seem to be some errors, here is my output now (dots abbreviated due to msg length error):
$ sudo ./bdm-chk -d 9 /dev/tblcf2
BDM Check for Coldfire processors.
Device: /dev/tblcf2
trying usb driver: /dev/tblcf2
Driver Ver : 2.13
Processor : Coldfire
Interface: TBLCF USB Coldfire
CSR break set, target stopped.
Debug module version is 3, (5307)
Target status: 0x4 -- NOT RESET, NOT HALTED, STOPPED, POWER ON, CONNECTED.
Register test, 1 of 1 :
D00 : ........................................
D01 : ........................................
D02 : ........................................
D03 : ........................................
D04 : ........................................
D05 : ........................................
D06 : ........................................
D07 : ........................................
A00 : ........................................
A01 : ........................................
A02 : ........................................
A03 : ........................................
A04 : ........................................
A05 : ........................................
A06 : ........................................
A07 : ........................................
Read/Write SRAM Test, 1 loops
1 : ........................................
Alignment SRAM Test, 1 loops
Byte Write alignment write, 1 of 1 :
................................
.
reading bytes :
................................
reading words :
................
reading long words :
........
Word (16bits) Write alignment verify, 1 of 1 :
................
reading bytes :
................................
reading words :
................
reading long words :
........
Long Word (32bits) Write alignment verify, 1 of 1 :
........
reading bytes :
................................
reading words :
................
reading long words :
........
Block Write alignment verify, 1 of 1 :
reading bytes :
................................
reading words :
................
reading long words :
........
Coldfire execution test, loading code to SRAM.
Stepping code.
Stepping, pc is 0x20000000, csr = 0x01300000
Stepping, pc is 0x00000092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
Stepping, pc is 0x00120092, csr = 0x01300030
WARNING: PC is not in the SRAM, something is wrong.
A0: 80000000 D0: 80000000
A1: 80000000 D1: 80000000
A2: 80000000 D2: 80000000
A3: 80000000 D3: 80000000
A4: 80000000 D4: 80000000
A5: 80000000 D5: 80000000
A6: 80000000 D6: 80000000
A7: 7FFFFF70 D7: 80000000
RPC:00120092
SR:00002708
VBR:00000010
CACR:00000000
ACR0:67FE6404
ACR1:5FF76460
RAMBAR:20000001
MBAR:80000000
CSR:01300030
AATR:00000005
TDR:00000000
PBR:00000000
PBMR:00000000
ABHR:00000000
ABLR:00000000
DBR:00000000
DBMR:00000000
CSR halt not set, target failed to halt, CSR = 0x00300000
Are the errors listed expected?
Thanks,
Dave