https://www.freescale.com/lgfiles/updates/CWCF/CW_ColdFire_6.3_Update.exe
Cost of components for the cable is under $10.
Feedback on functionality and/or any problems is most welcome.
I will be updating this post with new releases in case of bug fixes or other improvements.
I have added a zip file with the PCB design in EPS and BMP formats.
Daniel
Message Edited by DanielM on 2006-10-13 11:03 AM
 
					
				
		
 
					
				
		
 
					
				
		
sorry. I miss they website.
 
					
				
		
Hi Folks,
I got a AxDBM usb BDM interface and installed the opensource BDM tools.
My Linux development machine recognizes the device as /dev/tblcf4.
The BDM is connected to my Coldfire 5475 board.
However, I get an error when running ./bdm-chk /dev/tblcf4
Output:
BDM Check for Coldfire processors.
Device: /dev/tblcf4
trying usb driver: /dev/tblcf4
Driver Ver : 2.13
Processor  : Coldfire
Interface: TBLCF USB Coldfire
Reading CSR failed: No response to BDM request
Anyone have any idea what I might be doing wrong?
Any help appreciated,
Dave
Hi Dave,
The bdm-chk program will fail but it should get further than this.
Can you add "-d 9" to the command line:
./bdm-chk -d 9 /dev/tblcf4
and send the output. Are you running as root or as a user ?
Regards
Chris
 
					
				
		
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
 
Hi Dave,
The output you showed is correct and it is working. The test that is failing is designed for a specific SRAM set up and I have not never updated it for this series of devices.
I do not not know why cyclone-max works and this does not with the custom board. The BDM interface is same. The only thing I can think of is related to the reset and period of time it is being held for. The use of PLLs means you need to wait a while but this seems to be working on the eval board. If you can hook up something and see the difference that would be great. The only other thing is something hardware related like the amount of drive on reset or a power supply and/or gounding issue.
Regards
Chris
 
					
				
		
Hi jma
I think, Maybe you swap between row connector, row 1 and 2
It should work properly.
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
 
					
				
		
