Forums Search for: Flash
Flash MC9S12E via Serial Monitor Problem
inHi, I have been trying struggling for a week to flash micro via serial monitor without success. I really appreciate if anyone could give me...
Hi, I have been trying struggling for a week to flash micro via serial monitor without success. I really appreciate if anyone could give me some pointers. I've tried to use ubug12, hc12mem and CodeWarrior's True-Time Simulator and Real-Time Debugger, without much luck. The micro is MC9S12E128. My board is not an eval board, and there is no run/load switch. My project is created a...
Quick Flash Advice
inHi, I have a system (DP256) under test where the code is located in physical space from 0x4000-0x7fff and 0xc000-0xffff. The code downloads...
Hi, I have a system (DP256) under test where the code is located in physical space from 0x4000-0x7fff and 0xc000-0xffff. The code downloads data int 0x8000-0xBFFF in page 0x3A which it uses to run the system. During the testing, the data is static, the code is changing as it is being debugged. I can save a lot of time if the flash in the paged area is not erased whenever I invoke the deb
this is my problem wt codewarrior(plz solve)plz reply me soon as possible
inhi thx for responding to my mail. this is shailaja am working on MC9S12DJ256B MCU and am using codewarrior cross comiler in this, i can...
hi thx for responding to my mail. this is shailaja am working on MC9S12DJ256B MCU and am using codewarrior cross comiler in this, i can find .s19 file in bin directory for codewarrior project.if i use this .s19 directly to flash the code by using my burner utility program.it is giving some "flash programing failed " so for that purpose we are usi
Looking for reference design - HCS12 with external flash - expanded wide mode
inBefore I commit to a PCB I am looking for a couple of reference designs that work to check my design against !!!! I am using an ...
Before I commit to a PCB I am looking for a couple of reference designs that work to check my design against !!!! I am using an MC9S12DP256 microcontroller with an AM29F800B (512k byte X 16 bit wide) flash memory chip for external program memory. I want to be able to use the P&am
mc68332 interfacing with scv64
inHi, We have designed a board with MC68332 16 bit micro controller interfacing with scv64.Since scv 64 is 32 bit register access, higher...
Hi, We have designed a board with MC68332 16 bit micro controller interfacing with scv64.Since scv 64 is 32 bit register access, higher data lines of it are interfaced with latch implementation,writing the registers by one extra 16 bit write cycle with this configuration .Using BDM(debugging tool) ,application is dumped into flash and running from flash VME accessing is fine,but when...
processor expert & writing flash memory
inGreetings, I'm using Metrowerks CodeWarrior 3.1 with Processor Expert to develop an embedded boot loader for an MC9S12A64 (64k flash)....
Greetings, I'm using Metrowerks CodeWarrior 3.1 with Processor Expert to develop an embedded boot loader for an MC9S12A64 (64k flash). It needs to write to multiple pages, for example addresses 3C8000 ff and 3D8000 ff. After writing to 3C8000, the 3D8000 write is failing because bank changing isn't happening. As best I can tell, in datapage.c
HC12 Serial Bootloader Limitations
inI'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...
MC9S12DG256 secure mode and external bus
inI have a project for which I'm planning to use the MC9S12DG256 processor running from internal flash, and would also like to use the ...
I have a project for which I'm planning to use the MC9S12DG256 processor running from internal flash, and would also like to use the external bus to access RAM and peripherials. I read something in one of the documents for this processor which suggested that if I was running in secure mode (locked flash), then I couldn't access the external bus at all.
MC9S12XS: Difference between Flash and ROM versions of Controller
inhello every one, I am working with the MC912XS64 MCU right now, while reading the refference manual, I found there are two types of Main...
hello every one, I am working with the MC912XS64 MCU right now, while reading the refference manual, I found there are two types of Main Memory versions are available in the MC9S12XS family. 1. Flash Memory (256K 128K or 64K) 2. ROM Memory (256K 128K or 64K) According to the Manual, for the Controller which has ROM as the Main memory version, doesn't contain the DataFl...
hc12mem 1.2 - added support for serial monitor, and port of monitor to GNU toolchain
inhc12mem v1.2 ------------ - added support for Freescale's serial monitor (Application Note AN2548) Using this serial monitor in target...
hc12mem v1.2 ------------ - added support for Freescale's serial monitor (Application Note AN2548) Using this serial monitor in target FLASH memory, hc12mem can: - erase,read,write,protect target EEPROM - erase,read,write target FLASH - securing/unsecuring is not supported, due to monitor presence So for now, hc12mem can access HCS12 MCU memory
HC12 Programming circuit
inI'd like to know how to program the flash memory without using an commercial BDM cable. Thanks very much. Javier.
I'd like to know how to program the flash memory without using an commercial BDM cable. Thanks very much. Javier.
HC12 CAN bootloader/flasher
inHello, I'm currently working on a school senor project that requires me to flash an MC9S12C128 microcontroller through CAN. I was wondering if...
Hello, I'm currently working on a school senor project that requires me to flash an MC9S12C128 microcontroller through CAN. I was wondering if anyone had done something like this before and had any pointers for me. Thanks, Gabe ------------------------------------
Running HiWave using wine
inHi Guys, Does anyone know if you can run HiWave (From code Warrior) using wine in linux? If you do you know how, I'm struggling to get it...
Hi Guys, Does anyone know if you can run HiWave (From code Warrior) using wine in linux? If you do you know how, I'm struggling to get it to flash the EEPROM. Thanks Jim
How to make an HCS12 doorstop
inHi folks, Is it my understanding that if I erase an HCS12's FLASH, but not its EEPROM, and then reset the device before programming the...
Hi folks, Is it my understanding that if I erase an HCS12's FLASH, but not its EEPROM, and then reset the device before programming the security byte (0xFF0F) to 0xFE, that BDM will no longer work? Have I just created a doorstop to add to my collection? :) Hans
.S19 not valid
inHello, I'm generating a .S19 file with codewarior (using the stationery), and when I'm going to burn the flash, I see that a...
Hello, I'm generating a .S19 file with codewarior (using the stationery), and when I'm going to burn the flash, I see that a part of the program goes in the address 308000, which is not implemented in the HCS12 version that I use ($30-$3F windows => $0C0000-$0FCFFF). Wha
Programming via BDM
inAll - I have a lot of code written, and now I'm trying to program the interrupt vectors in FLASH (FF80-FFFF) to continue...
All - I have a lot of code written, and now I'm trying to program the interrupt vectors in FLASH (FF80-FFFF) to continue development and debug. I'm currently using MiniIDE as my assembler and communication utility to my controller. I have an evaluation board set up
Flash programming MC9S08
Hi, I using MC9S08GT60. Where is error? Kris. linker.prm ///////////////////////////////////////////////////////////////////...
Hi, I using MC9S08GT60. Where is error? Kris. linker.prm /////////////////////////////////////////////////////////////////// /* This is a linker parameter file for the GT60 */ NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */ SEGMEN
MC9S12DP256 Security Bit
inI keep inadvertantly setting the security bit on the 9S12. How can I avoid this? Unsecure software puts it back right again, but I must be...
I keep inadvertantly setting the security bit on the 9S12. How can I avoid this? Unsecure software puts it back right again, but I must be loading something into flash memory that says "Secure" this MCU. Any tips or suggestions?
Better bootloader for 9S12
inHello 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
D-Bug 12 and S19
inHello, I'm trying to download this file in to the Flash memory, but D-Bug12 (bootload mode) says that is out of range. But I...
Hello, I'm trying to download this file in to the Flash memory, but D-Bug12 (bootload mode) says that is out of range. But I think it's in a valid range, isn't it? The line with 0xEFE0 is to set the start vector in 0xEFFE, pointing to 0x8000 S1238000FEC01AFDC01