Is it possible to flash MC56F8135 via LPT?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to flash MC56F8135 via LPT?

2,727 Views
xcemaxx
Contributor I

I have no idea how to flash my MC56F8135 via LPT. Is it possible?

I have only .elf file for MC56F8135. 

I have PC with LP and JTAG DSP AXM-0337.

I can't install CodeWarior, because it costs a lot.

I have already installed Win XP, Jungo WinDriver and 58000E Flash Programmer 1.2. It doesn't have *.cfg file. I tried 56835x_flash.cfg. It didn't work. I tried command line and GUI versions.

I installed Freascale DSC Flasher but it doesn't support LPT.

Labels (1)
Tags (2)
0 Kudos
7 Replies

2,588 Views
xcemaxx
Contributor I

Any suggestions about errors mentioned above?

Reading File VIP3kV.elf...
Data @ 0x02000001 ignored
Data @ 0x0002F800 ignored
0 Kudos

2,588 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,Cema,

I suggest you download the evaluation version of CodeWarrior for DSP56800E ver8.3 from the link:

CodeWarrior Development Tools for 56800/E DSC | NXP 

It supports the LPT interface. Pls use it to download code to flash of MC56F8135.

BR

XiangJun Rong

0 Kudos

2,588 Views
xcemaxx
Contributor I

I downloaded all soft.

Now I can see memory with help of 56800E Programmer. I can even program, but I don't have cfg file for 56F8135. I tried to programm with random cfg file. Programmer changed memory, but I got message "The target device was not programmed properly" (actually I expect that). Can you help me find right cfg file?

I tried to debug in CodeWarior 8.3, but I have error "Unknown protocol error". I don't know how to config my project in the right way. I did it like that:

1. Open elf file. (Project creator log show a lot of warnings about missing source files.

2. Change Settings\Debugger\Remote Debugging\Connection to 56800E Local Hardware Connection. JTAG Clock Speed is 8000 (but in 56800E Programmer it is equal to 800 kHz)

3. Change Settings\Debugger\M56800E Target Setting\Processor to M56F8135.

And as I said I got error "Unknown protocol error".

After that I tried add Processor Expert with CPU 56F8135. And get error: File not found: (Drivers\56800\DSP56800.drv)

Help me with settings in project if it is easier than find cfg file for 56800E Programmer.

Thank you in advance

*Edit: I created empty project for MC56F8135 and saw in Settings 56834x_flash.cfg file. I used it in 56800E Programmer and it works! No errors and verify is ok.

Is it right cfg file for me?

Now i will check the device.

0 Kudos

2,588 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Cema,

I attach the data sheet of MC56F835x link, pls refer to following Fig, the MC56F8135 has the same program/boot flash location and size, the same data ram size and location.

I suggest you use the 56F835x_flash.cfg, which I attached.

https://www.nxp.com/docs/en/data-sheet/MC56F8335.pdf 

Hope it can help you

BR

XiangJun Rong

pastedImage_1.png

0 Kudos

2,588 Views
xcemaxx
Contributor I

Is the 56F835x_flash.cfg suatable for 56F8335 and 56F8135? Maybe it is for 56F8355, 56F8356, 56F8357?

New empty project in CodeWarrior for MC56F8335 and MC56F8135 uses 56834x_flash.cfg file.

I cannot verify written data with 56F835x_flash.cfg. Flash units 0, 1 passed CRC32, but Flash unit 2 failed.

I also have two errors : Data @ 0x02000001 ignored, Data @ 0x0002F800 ignored.

Logs:

FFLASH.exe 56834x_flash.cfg VIP3kV.elf
56800E Flash Programmer v1.1
Program ran on: Sat Aug 15 14:40:03 2020
Connected to local CCS server
Configured to the default device
Using Configuration File: 56834x_flash.cfg
3 flash unit(s) defined in the config file.
Chip ID: 0x11f4401d
Core ID: 0x02211004, 1 - Normal Mode
Placing the device into debug mode, please wait...
Reading File VIP3kV.elf...
Data @ 0x02000001 ignored
Data @ 0x0002F800 ignored
Flash unit #0 (P:0x000000-0x00FFFF) Erased, and Checked Blank
Flash unit #1 (P:0x020000-0x020FFF) Erased, and Checked Blank
Flash unit #0 (P:0x000000-0x00FFFF) programmed, 11734 words written
Flash unit #1 (P:0x020000-0x020FFF) programmed, 4 words written
Flash unit #0 (P:0x000000-0x00FFFF) Verification Passed CRC32 (0xa5ffa347)
Flash unit #1 (P:0x020000-0x020FFF) Verification Passed CRC32 (0x0b10cf3e)
Resetting the device to user mode...
Init: 2078ms, Erase: 578ms, Program: 2016ms, Verify: 3203ms, Exit Debug: 875ms,
Total: 8750ms

FFLASH.exe 56835x_flash.cfg VIP3kV.elf
56800E Flash Programmer v1.1
Program ran on: Sat Aug 15 14:42:34 2020
Connected to local CCS server
Configured to the default device
Using Configuration File: 56835x_flash.cfg
4 flash unit(s) defined in the config file.
Chip ID: 0x11f4401d
Core ID: 0x02211004, 1 - Normal Mode
Placing the device into debug mode, please wait...
Reading File VIP3kV.elf...
Data @ 0x02000001 ignored
Data @ 0x0002F800 ignored
Flash unit #0 (P:0x000000-0x00FFFF) Erased, and Checked Blank
Flash unit #2 (P:0x020000-0x021FFF) Erased, but still was not blank
Flash unit #0 (P:0x000000-0x00FFFF) programmed, 11734 words written
Flash unit #2 (P:0x020000-0x021FFF) programmed, 4 words written
Flash unit #0 (P:0x000000-0x00FFFF) Verification Passed CRC32 (0xa5ffa347)
Flash unit #2 (P:0x020000-0x021FFF) Verification Failed CRC32 (0x212060cc) expec
ted (0x8c058ab3)
Resetting the device to user mode...
Init: 2672ms, Erase: 656ms, Program: 2110ms, Verify: 3250ms, Exit Debug: 875ms,
Total: 9563ms

0 Kudos

2,566 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the CodeWarrior for DSP56800E tools does not provide the configuration file for the MC56F8135, can you develop a new configuration file based on the MC56F8335 configuration file, I think the only difference is flash size and address.

0 Kudos

2,489 Views
xcemaxx
Contributor I

Good day.
I changed *.cfg file (attached). I flashed without errors my DSC, but it didn't work.
Therefore I bought USB TAP and tried to flash with "Freescale DSC Flasher". It gave me an error even if I tried to flash a template program. Error text:
"Performing PROGRAM operation on MC56F8135 through the UTAP . . .
expected integer but got "{}""
But if Erasure Mode "Mass Erase", Operation "Erase" is chosen I get
"Performing ERASE operation on MC56F8135 through the UTAP . . .
Mass Erasing Target Device . . .
Mass Erase Complete"
I created a Bareboard Project for MC56F8135, Freescale USB TAP. If I tried debug a program from example in CodeWarrior 11.1 I got:
"Failed to resume target process.
CCSProtocolPlugin : CCS: Core not responding" (diagnostic Info is attached)
Can you help with this problem? I cannot find a solution.

0 Kudos