Can't get HC12 EVB and metrowerks to program Flash on target board via BDM
From: egp001 (fep002_at_motorola.com)
Date: 05/11/04
- Next message: Alan Balmer: "Re: Hourly Consulting Rates for Embedded Work?"
- Previous message: CBarn24050: "Re: FS Ad - Electronic Components incl. TIL311 Hexadecimal Displays,"
- Next in thread: Stephane: "Re: Can't get HC12 EVB and metrowerks to program Flash on target board via BDM"
- Reply: Stephane: "Re: Can't get HC12 EVB and metrowerks to program Flash on target board via BDM"
- Reply: MW Ron: "Re: Can't get HC12 EVB and metrowerks to program Flash on target board via BDM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 11 May 2004 08:26:32 -0700
When I connect a target board to an HC12 EVB and use Metrowerks v2.0
freeware IDE, I can assemble, link, go to the debugger and download
into RAM. When I set my default.prm file for the linker to point to
flash, the download fails with the message:
Elf-Loader
Error while writing to 8000..80B4
Looking at the communications between the debugger and the EVB board,
I see that when I load RAM successfully, the debugger issues the LOAD
0800 command (ram is at 800). When I try to write to flash memory, the
debugger issues the LOAD 08000 command which of course will not work
(need to send FBULK followed by FLOAD commands according the EVB
Debug-12 command manual) which is why I get the error.
Looking at the memory configuration menu, the Flash memory area was
set to RAM and in the comment field was FLASH. Rather strange, so I
set the type to FLASH (from RAM), but it didn't help.
Also I programmed flash directly using Hyperterminal and manually
entering the commands and S records and it worked fine. Confirmed it
with a memory display (MD) debug-12 command.
Anyone know if programming flash is supported with freeware Metrowerks
v2.0?
Anyone know how to set up to project/stationary/hiwave to get this to
work?
- Next message: Alan Balmer: "Re: Hourly Consulting Rates for Embedded Work?"
- Previous message: CBarn24050: "Re: FS Ad - Electronic Components incl. TIL311 Hexadecimal Displays,"
- Next in thread: Stephane: "Re: Can't get HC12 EVB and metrowerks to program Flash on target board via BDM"
- Reply: Stephane: "Re: Can't get HC12 EVB and metrowerks to program Flash on target board via BDM"
- Reply: MW Ron: "Re: Can't get HC12 EVB and metrowerks to program Flash on target board via BDM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|