EmbeddedRelated.com

CAN Bootloader

Started by Graham Tricker in 68HC1220 years ago 10 replies

I am currently implementing a CAN Bootloader, I am using the Bootloader saved in the file store of this group and the Bootloader...

I am currently implementing a CAN Bootloader, I am using the Bootloader saved in the file store of this group and the Bootloader documented in AN1828/D as reference. I have a question regarding running the Bootloader from RAM, we currently use the serial Bootloader from the freescal


CAN Bootloader for MC9SXEP

Started by axel_20002003 in 68HC1214 years ago 2 replies

Hi everybody, i'm new of this group. I've to do a CAN bootloader for mc9s12xep100 microcontroller i've read AN2546 and AN3391 application notes...

Hi everybody, i'm new of this group. I've to do a CAN bootloader for mc9s12xep100 microcontroller i've read AN2546 and AN3391 application notes but at this moment i'm a little confused. Some of you have already write a bootloader for this family? Can you explain the step i've to do to write a bootloader? Thanks Fausto ------------------------------------


MC9S12DP256B - Serial Bootloader - AN2153

Started by Kai Schneider in 68HC1220 years ago 1 reply

Hello, I am searching for a serial Bootloader for the MC9S12DP256B. On the Freescale website I found the AN2153. (Serial...

Hello, I am searching for a serial Bootloader for the MC9S12DP256B. On the Freescale website I found the AN2153. (Serial Bootloader for Reprogramming?) Has somebody of you implemented this Bootloader with the Code Warrior? Does it work? Does somebody know an <


Better bootloader for 9S12

Started by Oliver Betz in 68HC1220 years ago 3 replies

Hello All, is there any bootloader, commercial or noncommercial, resolving some disadvantages of the AN2153 bootloader: -...

Hello All, is there any bootloader, commercial or noncommercial, resolving some disadvantages of the AN2153 bootloader: - erase should be controlled by the download file and interleaved to avoid additional delays, - no need for handshake - Flash is faster


CAN Bootloader HCS12

Started by cumbotl in 68HC1219 years ago 1 reply

Hi; I have been assigned the task of writing a CAN bootloader for the HCS12C64 chip. I am new to the world of the HCS12 family and would ...

Hi; I have been assigned the task of writing a CAN bootloader for the HCS12C64 chip. I am new to the world of the HCS12 family and would like any info on where to start to look for information on the process of building a bootloader for this chip, using the CAN bus.


Serial Bootloader for HCS12xDP512

Started by jsbouchard1978 in 68HC1219 years ago 5 replies

Is there something available to replace the serial bootloader that was available with MC9S12DP256B? If not, has anyone attempted to...

Is there something available to replace the serial bootloader that was available with MC9S12DP256B? If not, has anyone attempted to modify this serial bootloader created for the MC9S12DP256B to adapt it to the MC9S12XDP512? I know that the original code won't work because of the RAM mapping that is not available on the XGATE series, but there mi


BOOTLOADER only works in debug mode

Started by Dan Azari in 68HC1219 years ago 1 reply

Hi All, I'm quite frustrated by a programming problem, and hope that someone can point out a possible cause. I am using a slightly...

Hi All, I'm quite frustrated by a programming problem, and hope that someone can point out a possible cause. I am using a slightly modified version of the serial bootloader provided in AN2153 on a 9S12A128, mask OL85D. When I run the bootloader with a BDM pod attached, it runs perfectly. However, without a BDM pod the program goes off in la-la land. In order to debug I've placed


Bootloader MC9S12DP256B

Started by jcz in 68HC1219 years ago 3 replies

I have a basic question : how can I upload/run bootloader on motorola MC9S12DP256B (I am using CodeWarrior 5.5, BDM-MULTILINK) I found...

I have a basic question : how can I upload/run bootloader on motorola MC9S12DP256B (I am using CodeWarrior 5.5, BDM-MULTILINK) I found some s-rec files (AN2546SW.zip) on freescale.com with doc's: "HCS12 Load RAM and Execute Bootloader User Guide". When I try uploading these s-rec (for 256) either I have memory errors or it just doesn't wor


programming MC9S12DP256

Started by rod irineo in 68HC1218 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 68HC1219 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


Newbie - Codewarrior and first LED-blink program

Started by sirtiffguy in 68HC1218 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 68HC1220 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


bootloader for 9s12c128

Started by leoundmarion in 68HC1219 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


disabling security in bootloader

Started by Steve Letkeman in 68HC1220 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


Flash programming from a bootloader

Started by dwild.geo in 68HC1220 years ago 12 replies

Hi folks Has anyone here ever successfully programmed flash in a 9s12 device from a bootloader when the chip is secured?...

Hi folks Has anyone here ever successfully programmed flash in a 9s12 device from a bootloader when the chip is secured? The chip I am using is the 9S12DG128 3l40K mask set which has the common EEPROM/FLASH programming error fixed. I am still having some troubles and


Re: Startup code and bootloader

Started by James M. Knox in 68HC1220 years ago 2 replies

At 09:14 12/31/2004 -0800, you wrote: >What is the difference between Startup code and >Bootloader? I guess it depends in...

At 09:14 12/31/2004 -0800, you wrote: >What is the difference between Startup code and >Bootloader? I guess it depends in part on your definition of "startup code." In this case the device needs the ability to load new (updated) versions of both


Metrowerks SmartLinker doesn't include Banked Flash code in S-Record generation

Started by phylacjoe in 68HC1222 years ago 1 reply

I've recently been studying M.Doughman's AN2153: Serial Bootloader for MC9S12DP256. It is stated that S-records generated by Cosmic...

I've recently been studying M.Doughman's AN2153: Serial Bootloader for MC9S12DP256. It is stated that S-records generated by Cosmic software works fine, but I'm on Metrowerks CodeWarrior, so... I had no problems installing the bootloader into the Protected High area (Starti


Bootloader HCS12

Started by tipet20002000 in 68HC1222 years ago 2 replies

Hello, Does anybody know how can I run application from RAM with metrowerks? I've done a bootloader in C for MC9S12A128 and...

Hello, Does anybody know how can I run application from RAM with metrowerks? I've done a bootloader in C for MC9S12A128 and a program with Builder C++ to download code from PC to HCS12 via RS485. I can download code into block 1, but to download code into block


HC912DG128A : bootloader in non-banked memory ?

Started by yann_37 in 68HC1219 years ago 6 replies

Hello, I'm working on a HC912DG128A. Apparently, it is possible to put a bootloader in the non-banked memory ($4000-$7FFF and...

Hello, I'm working on a HC912DG128A. Apparently, it is possible to put a bootloader in the non-banked memory ($4000-$7FFF and $C000-$FFFF). You can also erase and program banked memory (6 pages from $8000-$BFFF). My problem is about the predefined sections that must be in non-banked memory : ROM_VAR (application constant variables), STRINGS (applic


HC12 Serial Bootloader Limitations

Started by ga5941 in 68HC1215 years ago 1 reply

I'm downloading my application to a MC9S12DP512 via the Serial Bootloader which resides at $F000 in page $3F of the Flash memory, a protected...

I'm downloading my application to a MC9S12DP512 via the Serial Bootloader which resides at $F000 in page $3F of the Flash memory, a protected area. My app starts loading in the programming window at $C000 in page $3F but cannot go beyond $F000. This limits program size to less than 12K bytes, a severe limitation when 512K bytes of Flash are available. The load and erase routines of the Serial Boot...