Programming Flash of 912DG128A

Started by Anonymous in 68HC1216 years ago 3 replies

Hello 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


RAM FLASH emulation

Started by Dean Manion in 68HC1213 years ago

My Axiom 256 development board emulates Flash memory with external RAM to allow faster test program loading and other benefits. It works with...

My Axiom 256 development board emulates Flash memory with external RAM to allow faster test program loading and other benefits. It works with both their monitor and BDM. I've looked through the Freescale docs and can't find an explaination of how this is done. Can someone point me in the right direction to find the information on this. Dean


Re: Flash Programing - 512 Bytes

Started by Jerome Williams in 68HC1211 years ago

I am having trouble using mul. I am unable to get the information loaded in acculumator A and B and trying to used mul. Any...

I am having trouble using mul. I am unable to get the information loaded in acculumator A and B and trying to used mul. Any suggestion? vvdhana wrote: Hi All, I am student and not able to go ahead in my project because of the following requirement. I have to store 250 bytes of data in a flash memory of 512 KB (MC9S12DP51


Problems writing to flash

Started by Mike Elphick in 68HC1215 years ago 1 reply

Hello experts! I'm experienced with the HC11, but new to HCS12. I can't seem to program any data into flash and append section...

Hello experts! I'm experienced with the HC11, but new to HCS12. I can't seem to program any data into flash and append section of program I'm using, in case I'm making a silly mistake :-( ; Enter with data in D and address in X ; FCLKDIV already set up to $4B for 16MHz


Unsecuring Flash

Started by Longworth, Kevin in 68HC1215 years ago 6 replies

Ok I have tried to implement the backdoor method of unsecuring flash. I can verify that the KEYACC bit is set then the 4 words...

Ok I have tried to implement the backdoor method of unsecuring flash. I can verify that the KEYACC bit is set then the 4 words (keys) are being written using unsigned16* FlashBackDoorStart is initialized to 0xFF00 before jumping to the RAM function, and unsigned16* FlashSecur


Flash Programmer - SCBDMPGMR12

Started by Chengrong Lu in 68HC1215 years ago 3 replies

Hi 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


HC912D60A flashing

Started by Madis in 68HC1213 years ago 4 replies

Hello! 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


modifying stack pointer fails when returning execution from RAM

Started by WobberJ in 68HC1213 years ago 4 replies

Hi 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


E128 Flash Programming

Started by g5000t in 68HC1215 years ago 2 replies

Hi all, I'm a bit unsure of the structure of the E128 flash. I need to program it to store some variables and strings....

Hi all, I'm a bit unsure of the structure of the E128 flash. I need to program it to store some variables and strings. According to the E128 summary doc from Motorola, the E128 has one memory array that should be programmed by a routine loaded in RAM. When I read the FTS128


Revisiting Flash Storage on C32

Started by hc08jb8 in 68HC1214 years ago

Hello All Few months back I was looking into keeping some static info like "device id" on the flash area of 9S12C32, this...

Hello All Few months back I was looking into keeping some static info like "device id" on the flash area of 9S12C32, this info could be changed during runtime by the user via a keypad/lcd. I gave up on that due to other pressing needs. I did lo


9s12ne64 or derivative, write to flash, help!

Started by ericshufro in 68HC1214 years ago 2 replies

I am using metrowerks and have reserver non banked flash from $4000- $4200, so no code lives there. I would like to erase the 512...

I am using metrowerks and have reserver non banked flash from $4000- $4200, so no code lives there. I would like to erase the 512 bytes there (i believe you have to erase 512b at a time), and then write data from a buffer into the region. I am having crashing problems


const objects in flash with Metrowerks Compiler

Started by djsimpson100 in 68HC1215 years ago 4 replies

Hi, I want to have a structure array point to another structure array, and both structures reside in flash on an HC12. A...

Hi, I want to have a structure array point to another structure array, and both structures reside in flash on an HC12. A (very) simplified example is shown below. /* * Test.c */ struct s1 { int i1; int i2; }; str


USB flash drive for the HC12

Started by Lewis, Bob in 68HC1215 years ago 3 replies

Hi 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


Re: Bad flash?

Started by dleatmot in 68HC1211 years ago 1 reply

--- In 6...@yahoogroups.com, Donald E Haselwood wrote: > > Does the following indicate the flash is bad (or is it something else)? > ...

--- In 6...@yahoogroups.com, Donald E Haselwood wrote: > > Does the following indicate the flash is bad (or is it something else)? > > Part: MC9S12E128CPV Mask 2L15P > > I built 6 boards with this part, partially populating the boards so that there > are only the by-pass & pll capacitors and resistors and MAX232C with it's > caps. All but one of the boards wor


Re: Flash program checking

Started by James M. Knox in 68HC1215 years ago 16 replies

At 02:24 PM 9/29/2003 -0400, you wrote: >An 'end around carry' checksum stored in eeprom might work ok. Add up words >from the...

At 02:24 PM 9/29/2003 -0400, you wrote: >An 'end around carry' checksum stored in eeprom might work ok. Add up words >from the flash, whenever the 16 bit sum is suddenly less then what it was >last time, there was a carry, so add 1 in to the sum. Hopefully if there >is


Problem programming flash on M68EVB912B32

Started by markalnori in 68HC1215 years ago 3 replies

Hello, This is a frustratingly simple problem. I'm trying to program the flash on the M68EVB912B32 with user code via an S...

Hello, This is a frustratingly simple problem. I'm trying to program the flash on the M68EVB912B32 with user code via an S Record generated by Metrowerks CodeWarrior IDE. So far, no luck. This is what happens. The S-Record looks something like this (erased long ends t


Read banked Flash

Started by Javier Alberola in 68HC1214 years ago 5 replies

Hello, I want to read the Flash memory of the MC9S12DG256 with a ComPod12 and the software StarProg. It allows me to read the...

Hello, I want to read the Flash memory of the MC9S12DG256 with a ComPod12 and the software StarProg. It allows me to read the range 0x0C0000 to 0x0FFFFF, but I think the range that is implemented in the MCU is 0x300000 to 0x3FFFFF (pages 0x30 to 0x3F). How could I read that


Dragon12

Started by MK in 68HC1212 years ago

Hello guyz, I was using a Minidragon+ board for my senior design project. I managed to test my applicaiton in C in the RAM mode. When I was...

Hello guyz, I was using a Minidragon+ board for my senior design project. I managed to test my applicaiton in C in the RAM mode. When I was trying to transfer my program to FLASH memory, my lab instructor told me that I should not do that because D-Bug 12 already resides in FLASH. When I tried to transfer my program to the EEPROM, the terminal of ICC12 kept telling me that EEPROM is locked...


Any one down for some fancy S12 flash dancing?

Started by johnpititto1976 in 68HC1215 years ago 2 replies

Hi Ladies and Gents, I am working on the MC68HCS12DP256 micro developing in Codewarrior. I getting the message n codewarrior,...

Hi Ladies and Gents, I am working on the MC68HCS12DP256 micro developing in Codewarrior. I getting the message n codewarrior, "L1102: Out of allocation space in segment FLASH_PAGEC000 at address 0xFE75". I am guessing that i have ran out of flash is there any way


CW3.0, HCS12, function placement in flash

Started by Roman A. Gomulin in 68HC1214 years ago 1 reply

Hello, all I use CodeWarrior 3.0 for HC12 How can I put a function to the exact address in flash? What #pragma defines or...

Hello, all I use CodeWarrior 3.0 for HC12 How can I put a function to the exact address in flash? What #pragma defines or linker parameters should I specify? .prm file: AAA_SEC = READ_ONLY 0x4000 TO 0x43FF; .c file void aaa_