Forums Search for: Flash
flash programming code for 9S12
inHi, I have seen a few threads concerning issues in getting the 9s12DP256 to program its own flash memory via serial or CAN and now...
Hi, I have seen a few threads concerning issues in getting the 9s12DP256 to program its own flash memory via serial or CAN and now it's my turn to do this and was wondering if there is any code floating around for this? Thanks, Steve Automated lighting syste
Flash/EEPROM Programming via CAN
inHi folks, First let me say that I have read/am aware of Motorola's App Note 1828 on the subject. I was wondering if anyone...
Hi folks, First let me say that I have read/am aware of Motorola's App Note 1828 on the subject. I was wondering if anyone had written their own software for programming the Flash of an HC12 over CAN. How well did it work? Did you employ the bootloader-to-load-a-b
Help! BDM cannot communicate
inI bulk erased the flash memory on my 68HCS12DP256, which shouldn't be a problem because I have a BDM POD, but now I cannot...
I bulk erased the flash memory on my 68HCS12DP256, which shouldn't be a problem because I have a BDM POD, but now I cannot communicate with the target. I have tried all the options that Debug12 allows but with no sucess. When I reset the micro I think it is jumpping to Flash but I cannot tell. I am u
HCS12 flash security and cumulative programming
inI'm writing some FLASH programming code, and now I have reached final step of securing the microcontroller. Unsecured microcontroller has ...
I'm writing some FLASH programming code, and now I have reached final step of securing the microcontroller. Unsecured microcontroller has lower bits of byte at 0xff0e equal to 0bxxxxxx10. Now if I want to secure it, I have to write something different there. Because LSB is already zeroed, there are two possibilities: one is to first erase it and then program
hcs12 flash
Hello, I use an mc9s12dp256, and my apllication needs to save some parameters in Flash. So I have make a program but it...
Hello, I use an mc9s12dp256, and my apllication needs to save some parameters in Flash. So I have make a program but it doesn't work, it chras my CPU. My config: CPU: m9s12DP256 (single chip) Fosc: 16MHz Fbus: 8MHz If someone foud an erro
Programming Flash of 912DG128A
inHello I have some problems programming the internal flash arrays 02, 03 on a 912DG128A using P&E Prog12Z. As someone posted...
Hello I have some problems programming the internal flash arrays 02, 03 on a 912DG128A using P&E Prog12Z. As someone posted before, Prog12 will verify the contents as correct but ICD12 and NoICE shows only 0xff at these locations. Does anyone have some hel
Flash Programmer - SCBDMPGMR12
inHi All, I am looking for a flash programmer for Motorola MC9S12DP256B with the following functions: It can load a...
Hi All, I am looking for a flash programmer for Motorola MC9S12DP256B with the following functions: It can load a firmware image (say S-Record) into MCU and overwrite the existing (crashed) firmware inside the MCU. We also have to keep some calibrat
modifying stack pointer fails when returning execution from RAM
inHi all, I've posted this to P&E's site, but am cross-posting here for any thoughts. Thanks, JoeW ...
Hi all, I've posted this to P&E's site, but am cross-posting here for any thoughts. Thanks, JoeW ************************************************************* I'm implementing freescale's AN2720, which is a flash write algorithm that pushes the final flash write routine onto the stack and then executes it from RAM. I'm d
HC912D60A flashing
inHello! Im new to freescale processors and run into the problems while trying to flash software into it. So maybe you could help me. ...
Hello! Im new to freescale processors and run into the problems while trying to flash software into it. So maybe you could help me. I designed one PWB with 912D60A on board. In order to flash it, I added BDM connector to it (+5V, GND, BDM, Reset), as was recommended by freescale. After receining that manufactured PWB, I started to find a algor
USB flash drive for the HC12
inHi Everyone: We are using the 9S12DG128a, and ICC12compiler and want to add USB for a flash drive. * Does anyone know of...
Hi Everyone: We are using the 9S12DG128a, and ICC12compiler and want to add USB for a flash drive. * Does anyone know of libraries either shareware or commercially (preferably available for the HC12, but just ANSI C would be fine) in C to implement a windows based file
CAN-Loader for Reprogramming the MC9S12DG128B FLASH
inHi developer -(friends..), Reprogramming specialists! I am working heavily on CAN-Module with interfacing to 24V-I/O'S and the...
Hi developer -(friends..), Reprogramming specialists! I am working heavily on CAN-Module with interfacing to 24V-I/O'S and the MC9S12DG128B. I want to ?Reprogramming the MC9S12DG128B FLASH Memory" at the CAN-Bus. Does anyone know how this method or program-code?
HC12D60A, EEprom and Flash programming
inHello, I am using CW to develop and app using the HC12D60A MCU. I have settings in EEprom that I don't want overwritten when...
Hello, I am using CW to develop and app using the HC12D60A MCU. I have settings in EEprom that I don't want overwritten when the debugger is started. I have the section declared as "NO_INIT" in my flash.prm file, but the EEprom still gets initialized to FF's on
Programming 68HC912B32 Flash
inI have some simple code which is runing fine through Cosmic's ZAP debugger. I believe that ZAP actually programs the onboard flash...
I have some simple code which is runing fine through Cosmic's ZAP debugger. I believe that ZAP actually programs the onboard flash so I assumed that after it was programmed I would be able to power down, remove the BDM interface, power back up and the chip would run the code (def
erasing 256k flash memory with mc9s12dp256
inHi, With a self programmed bootloader which runs in Ram, we have some trouble to erase memory flash block with mass_erase...
Hi, With a self programmed bootloader which runs in Ram, we have some trouble to erase memory flash block with mass_erase command. But if we send two times the function, we have a correct erasing. Therefore, same function but in writing mode works properly after erasi
Codewarrior & flash data problem
inI sent this question days ago and I don't receive any answer. Now I will try to explain the problem better. I'm new in HCS12...
I sent this question days ago and I don't receive any answer. Now I will try to explain the problem better. I'm new in HCS12 programming and after successful tests with Codewarrior Processor Expert using SPI, SCI, timers, etc., now I'm trying to store some data in flash. I thought that C
Write flash in normal single chip mode?
inHello, everybody! Is it posible to program or erase Flash in HCS12 (DG128) from code executed from on-chip RAM in...
Hello, everybody! Is it posible to program or erase Flash in HCS12 (DG128) from code executed from on-chip RAM in Normal Single Chip Mode? WBR, lenux
DP256 - DP512 Transition
inHello All. I have recently started to upgrade an old board that uses DP256B's with DP512. I managed to program the board a couple of days ago...
Hello All. I have recently started to upgrade an old board that uses DP256B's with DP512. I managed to program the board a couple of days ago with no issues. Today, I ran into a problem with my application code - it couldn't write to paged flash when downloading data from my PC app. This was quickly identified as a problem with the bank select in my flash loading routine. However no...
Re: : Programming the flash in EVB - HC912DG128
inDear All, I recently bought an EVB from Motorola containing HC912DG128 chip and the SDI debug tool. But I want to use the board...
Dear All, I recently bought an EVB from Motorola containing HC912DG128 chip and the SDI debug tool. But I want to use the board with the debugger 12. The manual says that the board is provided with flash unprogrammed. Can you tell me in detail how to put debug12 code in the EVB's fla
flash data storing & realibility
inHi all, I'm writing a program that needs to store a large amount (thousands?) of small chunks of data (maybe 32 bytes length)...
Hi all, I'm writing a program that needs to store a large amount (thousands?) of small chunks of data (maybe 32 bytes length) into flash (cpu 12DG256). No problems in read / write / erasure, but I found what I think is a weak point in the process. Sometimes, due writing of new data in previous
How to unsecure HSC12 via BDM?
inHello, all! We made our own programming device for HCS12 via BDM and playing with it: read/write registers, writing to SRAM,...
Hello, all! We made our own programming device for HCS12 via BDM and playing with it: read/write registers, writing to SRAM, etc... Today we trying to write flash (i.e. program FCNFG, FCMD, FADDR, FDATA registers). All working fine, untill we do mass erase. After that all flash bytes,