I am having difficulty with bootloader section

Started by robertodellelliott in 68HC1214 years ago 1 reply

I am trying to load a new bootloader (via the BDM) into the 68hc12 and am having problems understanding what is going on. I am...

I am trying to load a new bootloader (via the BDM) into the 68hc12 and am having problems understanding what is going on. I am using metrowerks. I first unsecure the flash area. I then download the boot loader. When I run the debugger and try and follow the source code ver


HC12D60A Initialization

Started by bitjockey1 in 68HC1215 years ago 1 reply

Hello All, Is there any documents for the HC12 that give a concise list of all the registers that need to be setup right out...

Hello All, Is there any documents for the HC12 that give a concise list of all the registers that need to be setup right out of reset? I have written a bootloader for the HC12D60A and would like to set these registers up in the bootloader code so the appropriate modu


problem with bootloader run

Started by chen_xuesong in 68HC1215 years ago

I downloaded the Bootloader code from motorola's website, and tried to program it into my evaluation board M68KIT912DP256 using ...

I downloaded the Bootloader code from motorola's website, and tried to program it into my evaluation board M68KIT912DP256 using CodeWarrior's debugger via BDM-Multilink. It does not work(nothing shows on hyperterminal). But I can programme other example codes and run it. I


S12SerMon2r1 bootloader (solution)

Started by "James M. Knox" in 68HC1210 years ago

Just thought, since everyone else has always tried to be helpful to me) I would offer a solution (probably to a problem no one else has ...

Just thought, since everyone else has always tried to be helpful to me) I would offer a solution (probably to a problem no one else has ). I recently needed to add a bootloader so that we could e:mail software updates to customers and let them do SW updates themselves. Rather than use the internal one we have developed in the past, I decided to just go with the S12SerMon2r1 from the


How to get SCBDMPGMR12 revived?

Started by Chengrong Lu in 68HC1215 years ago 4 replies

Hi all (especially to Mr. Gordon Doughman), I bought an SCBDMPGMR12, in less than 10 minutes, I successfully killed it - it is...

Hi all (especially to Mr. Gordon Doughman), I bought an SCBDMPGMR12, in less than 10 minutes, I successfully killed it - it is dead now! It was started successfully for once with welcome message, then I decided to try Bootloader, I successfully saw bootloader's menu,


programming MC9S12DP256

Started by rod irineo in 68HC1212 years ago 1 reply

I am having a hard time programming the MC9S12DP256. I am Using EmbeddedGNU 0.93 as my software. I have this guide on how to program the said...

I am having a hard time programming the MC9S12DP256. I am Using EmbeddedGNU 0.93 as my software. I have this guide on how to program the said microcontroller. It is said that I should be on mode 4 (bootloader) then I should reset the button. I followed this instructions. I followed that I should choose a then b, the bootloader will wait for my file. (do this really takes a long time???). When I sa...


looking for a MC9S12DP256 Bootloader

Started by apedroso11 in 68HC1213 years ago

Hi, I am looking for a CAN and/or Serial bootloader for HCS12 (MC9S12DP256) and I've found several options: 1. Serial (AN2153 and...

Hi, I am looking for a CAN and/or Serial bootloader for HCS12 (MC9S12DP256) and I've found several options: 1. Serial (AN2153 and AN2153SW) 2. LRAE (AN2546) and AN2720/D (Flash routines) 3. BootRom.zip (on this group, by lenux22) - Can anybody tell me what is the easiest one to start with? - I have tried to compile AN2153SW


Bootloader and Vector table.

Started by bbalend in 68HC1213 years ago 4 replies

Looks like my application require two vector table. one for application and other one is for bootloader. There won't any sci interface ...

Looks like my application require two vector table. one for application and other one is for bootloader. There won't any sci interface communication, except it will be present for debugging purpose. All flash erase/programming are performed via the I2C bus. So, my questions are: 1) Will there be any design issues that I have to watchout for?


Newbie - Codewarrior and first LED-blink program

Started by sirtiffguy in 68HC1212 years ago

Hello everyone, I am just about at the end with my board. I'm just starting out with this chip, and I can't seem to get a simple...

Hello everyone, I am just about at the end with my board. I'm just starting out with this chip, and I can't seem to get a simple port-toggler to work using codewarrior. I have the bootloader, and DBug12 V3.0 installed (I got the bootloader on, then loaded DBug12 myself. All seems to work ok. My main.c code*************************************** #include /* common d


AN2153 Bootloader Code

Started by Jeff McKnight in 68HC1214 years ago 6 replies

Can a text file of the code listing in AN2153 for the serial bootloader be downloaded anywhere ? I can seem to find it. Only...

Can a text file of the code listing in AN2153 for the serial bootloader be downloaded anywhere ? I can seem to find it. Only PDF format. Thanks -- Jeff McKnight Development Engineer Athens Technical Specialists, Inc. 8157 U.S. Route 50


Re: S12DJ128 Paged / Non-Paged Memory Trouble

Started by mfalam_2000 in 68HC1212 years ago 3 replies

Hi, Currently, I am having some weird problems in the Paged and Non- Paged memory locations. Firstly, I will try to explain the problem so...

Hi, Currently, I am having some weird problems in the Paged and Non- Paged memory locations. Firstly, I will try to explain the problem so you all have a better understanding of the scenario. We use MC9S12DJ128MPV microcontroller for our module. The firmware is divided into 2 parts, bootloader and applications. We usually program the bootloader into the micro using the BDM opt...


bootloader for 9s12c128

Started by leoundmarion in 68HC1213 years ago 5 replies

Hello! I adadpted the bootloader described in AN2153. I didn't copy it into the RAM but put it into ROM at Adress C000 to D000. ...

Hello! I adadpted the bootloader described in AN2153. I didn't copy it into the RAM but put it into ROM at Adress C000 to D000. Then I wanted to write into the PAGED Area of the RAM (e.g. 388000) If I debug the Code with my BDM Debugger step by step everything works fine, but if I let it run, the Program Conunter crashes after setting


DG128 Programming Problem

Started by Jeff in 68HC1212 years ago 4 replies

I am having an issue with my new board that has an 9SDG128 chip. It is a LFEBS12UB student development board. The board has an onboard...

I am having an issue with my new board that has an 9SDG128 chip. It is a LFEBS12UB student development board. The board has an onboard BDM. Originally the power was disconnected during reprogramming and I could only get into the bootloader but could not flash a new program. But now I can't even get into the bootloader. I have both a serial interface and a BDM interface cable that I ca...


secure bootloader

Started by Michael Huslig in 68HC1215 years ago 7 replies

Gentlemen: I have implemented a version of Gordon's serial bootloader (AN2153). It uses encryption so that the S19 file is not...

Gentlemen: I have implemented a version of Gordon's serial bootloader (AN2153). It uses encryption so that the S19 file is not readable by the end user. However when I set the security bits to '00' in the loader code and use the BDM to put the loader into flash, the loader pro


Initialising _startupData with serial bootloader.

Started by johnpititto1976 in 68HC1215 years ago 1 reply

Hi All, Best wishes for 2004. I have been developing a serial bootloader into my application using Mot AN2153. I am...

Hi All, Best wishes for 2004. I have been developing a serial bootloader into my application using Mot AN2153. I am having trouble with the structure _startupData (below is an snipit). The structure is initialised by the linker and located at C000. When I perfo


Init() in Start12.C not working after Bootloader Completed Codewarrior v1.2

Started by johnpititto1976 in 68HC1215 years ago

Hi All, I have completed the bootloader stuff, however, the Init() function in Start12.c is not functioning correctly. Is...

Hi All, I have completed the bootloader stuff, however, the Init() function in Start12.c is not functioning correctly. Is there an updated Start12.c that i should be using or should i have to make some adjustments to this procedure? /* Example : Set up WinDef


disabling security in bootloader

Started by Steve Letkeman in 68HC1214 years ago 10 replies

So here's another question concerning security while running a bootloader. If you have the processor in secure mode and you want...

So here's another question concerning security while running a bootloader. If you have the processor in secure mode and you want to update the firmware, then you would send it a command (SCI/CAN etc) to use the back door key to unsecure the processor in order to write new firmware t


XDP512 issues

Started by bitjockey1 in 68HC1211 years ago 1 reply

Hello, I have another question on XDP512 programming if anyone has any ideas. On the hardware I am using I am trying to program...

Hello, I have another question on XDP512 programming if anyone has any ideas. On the hardware I am using I am trying to program a flat memory model, ie $4000-$FFFF, I have a bootloader & vectors @$F000- $FFFF. I copy the bootloader into ram to program. I have the PPage register left at its' default page ($FE). The *.s19 I am sending is using 16 bit addresses. I can write i...


programming flash using resident bootloader

Started by Joe McCarron in 68HC1215 years ago

Hi All, I haven't had success using the bootloader to download to my 9s12 board. My load addrs starts at $C000 (i am not using...

Hi All, I haven't had success using the bootloader to download to my 9s12 board. My load addrs starts at $C000 (i am not using paging) and reset vector is located at EFFE as suggested by the dbug12 pdf file. I don't get a sucessfull download since the prompt on the terminal


Seeking Serial Bootloader Code for MC9S12A256B

Started by orange107bc in 68HC1214 years ago

I need this information to help me determine where the bootloader code is initially stored on my New Micros, Inc. NMIN-12A256B...

I need this information to help me determine where the bootloader code is initially stored on my New Micros, Inc. NMIN-12A256B board. I am also looking for how to use the Dbug-12 monitor on this board using the serial cable to my PC. I find the User Manual very skimpy on using the bo