EmbeddedRelated.com
The 2024 Embedded Online Conference

Fw: HCS12 with non-multiplexed expand paged memory.

Started by Andrew Lohmann's New Email Server in 68HC1221 years ago 5 replies

Hi All, Does anyone know if there will be a variant of HCS12 with non-multiplexed memory in the future? It seems to me that the...

Hi All, Does anyone know if there will be a variant of HCS12 with non-multiplexed memory in the future? It seems to me that the only option is to use HC16, but this a little different, does not have so much flash and may be an unpopular choice. I have used this controller and find


Re: Problem with SPI

Started by linktek in 68HC1220 years ago 13 replies

Hi, has anyone got a figure on the life expectancy of the Atmel AT45 serial flash devices? I cant find any thing related to the...

Hi, has anyone got a figure on the life expectancy of the Atmel AT45 serial flash devices? I cant find any thing related to the amount of write cycles allowed. Frank ----- Original Message ----- From: "manekb2000" <> To: <>


using codewarrior without a BDM

Started by oulaxer11 in 68HC1220 years ago 4 replies

More Noob question - I have an Axiom Board with the HCS12 - DP256 I wrote a VERY simple C program in codewarrior and tested...

More Noob question - I have an Axiom Board with the HCS12 - DP256 I wrote a VERY simple C program in codewarrior and tested it... I want to download it to the flash of the HCS12 using the AxIDE but when i try to upload the S - record i get a ROM error, which ma


Linking problem in Cosmic for Star12

Started by arockiapeter_forum in 68HC1220 years ago 1 reply

Hi, I am trying to add my new file in to one of the existing project files. I added my statements in the linker file as...

Hi, I am trying to add my new file in to one of the existing project files. I added my statements in the linker file as follows.... PS: already all the segments for the entire flash memory is created, so just added my code in one of the segment


E128 Sector Erase

Started by Bruce McMillan in 68HC1220 years ago 11 replies

Hi, Can anyone confirm that the sector erase size on the S12E128 is 512 bytes - the module covering the Flash says both 512Bytes...

Hi, Can anyone confirm that the sector erase size on the S12E128 is 512 bytes - the module covering the Flash says both 512Bytes and 256Bytes. tks Bruce


Security of MC9S12DG128 MCU

Started by Dariusz Kusinski in 68HC1219 years ago 3 replies

Hi, I've a problem with processor security against reading the content of FLASH/EEPROM by unauthorised persons. I've...

Hi, I've a problem with processor security against reading the content of FLASH/EEPROM by unauthorised persons. I've read the documentations and application notices (AN2206 etc.) but I'm still unsure how the security should be made. My project based on the MC9S


68hc912 flashing problem with BDM

Started by venki in 68HC1218 years ago 2 replies

Hello all,+ I am trying to flash the code into 68HC912B32 micro but I am getting "The Module could not be erased" error in BDM prog12. ...

Hello all,+ I am trying to flash the code into 68HC912B32 micro but I am getting "The Module could not be erased" error in BDM prog12. I unprotected the device by using PR 0 option in prog12 but no use. Is anybody has experienced the same problem please let me know how you overcome this problem. One more try I have done with Metrowerks where I am seeing couple of errors in comman...


Unable to flash 9s12 !

Started by jpdi in 68HC1213 years ago 4 replies

Hi all ! It's a lot of time I didn't program with S12. Now, I've some soft release to do, and the cpu I try to modify soft refuses to be...

Hi all ! It's a lot of time I didn't program with S12. Now, I've some soft release to do, and the cpu I try to modify soft refuses to be programmed. NoIce reports me "Verify fail at add... wanted xx, got yy (if this is protection byte, NoIce may prevent you from locking yourself out) .../..." I never-never protected the CPUs I use. I tried with 3 other boards I've, wich refused ...


looking for a MC9S12DP256 Bootloader

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


HC12 s file generation

Started by Ming Jiang in 68HC1222 years ago 5 replies

Hello All, I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I...

Hello All, I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file first. Could anybody please tell me the command line that I hav


Minimum equipment to re-program HC12

Started by Trevor Wigle in 68HC1221 years ago 7 replies

We have been using the CABLE12 interface cable to program a 68HC12 target for the last year. We use the Cosmic compiler to generate...

We have been using the CABLE12 interface cable to program a 68HC12 target for the last year. We use the Cosmic compiler to generate .H12 files which are then downloaded to the Flash and EEPROM (using Cosmic's ZAP) of the MC912 processor on our product. We would like to be able


Re: Link Error : L1401 Codewarrior HC12

Started by johnpititto1976 in 68HC1220 years ago 2 replies

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo - Flash...

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo - Flash Banked and followed the convention in the prm file and settings on the target with the compiler command line argument (-Mb). That all seems ok,


HCS12 Bank Switch

Started by Phillip Mastroianni in 68HC1219 years ago 6 replies

How does the compiler deal with bank switching? We current are using 9s12DP256 processor which uses banked memory. If there is a...

How does the compiler deal with bank switching? We current are using 9s12DP256 processor which uses banked memory. If there is a document which I can read that would be helpful. Also this process use .5u SST flash, which requires a fixed length srecord. Does the current build too


Motorola linear vs paged S records

Started by Karoly Molnar in 68HC1221 years ago 2 replies

Hi All, I am implementing a boot loader for the HCS12 processor family. I use the linear memory layout that is mentioned in the...

Hi All, I am implementing a boot loader for the HCS12 processor family. I use the linear memory layout that is mentioned in the AN2153 App. Note. (This is the format that is used by P&E Micro's Flash programmer and Cosmic's compiler and it is now supported by Metrowerks as


Flashing Over EEPROM: A Newbie Question

Started by thunderweasel71 in 68HC1221 years ago 12 replies

Gentle Denizens: I am using CodeWarrior for the HC12 w/ the Processor Expert package, and my target is the MC9S12A64. I am...

Gentle Denizens: I am using CodeWarrior for the HC12 w/ the Processor Expert package, and my target is the MC9S12A64. I am using the BDM MultiLink to flash program with. This is a completely newbie question (I am, in fact, a newbie to all of the items noted above)


paged function and S2

Started by bdesyf in 68HC1221 years ago 2 replies

Hello! I am trying to convert a banked S19 file to a linear S2 format, to flash my program using DBug12 as a pod. I am using a...

Hello! I am trying to convert a banked S19 file to a linear S2 format, to flash my program using DBug12 as a pod. I am using a DP256B. In my S19 file, the beginning of my paged function is declared like this: S211018000CC003216D9DDCC003416D9DD0ACD A


External Memory Capabilities of the HC12

Started by zajaco2 in 68HC1217 years ago 6 replies

Hello, I am relatively new to the 68HC12 (about 5 months) and I'm using it in a project that I've been working on. I know that the 68HC12...

Hello, I am relatively new to the 68HC12 (about 5 months) and I'm using it in a project that I've been working on. I know that the 68HC12 has an external addressing scheme that will allow one to reach 1MBytes worth of data. My question is this: What types of external memories are available? I have found an I2C 1Mbit EEPROM and some SPI flash memories, but nothing near 1MBytes that I...


Allowing Banked Memory HCS12DP256 in Codewarrior

Started by johnpititto1976 in 68HC1221 years ago 1 reply

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo -...

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo - Flash Banked and followed the convention in the prm file and settings on the target with the compiler command line argument (-Mb). That all seems ok,


One-step programming of 9S12D64

Started by Wade A Smith in 68HC1218 years ago 3 replies

Does anyone know of a one-step method to program a 9s12D64? We can only get PEMicro to load Flash or EEPROM, but not both, even with extra...

Does anyone know of a one-step method to program a 9s12D64? We can only get PEMicro to load Flash or EEPROM, but not both, even with extra documentation from their web site. (see the thread "9S12D64 and P&E Micro's Cyclone Pro" for the continuing saga of frustration. BTW, why does management get so pushy ONLY when they are ready to start producing, even though they knew programming was nee...


__far24 pointers

Started by "joh...@autoartisans.com [68HC12]" in 68HC1210 years ago 8 replies

I've declared a block of FLASH that I want to be able to erase, program and read. #pragma DATA_SEG __GPAGE_SEG PAGED_FLASH TCODE_BLOCK...

I've declared a block of FLASH that I want to be able to erase, program and read. #pragma DATA_SEG __GPAGE_SEG PAGED_FLASH TCODE_BLOCK CodeBlock = {{"xIM1_nnv",'I',0x20,0x3456,0xFFFF},0x5555}; #pragma CODE_SEG DEFAULT I can read from this (void)printf("Node ID: 0x%02X\n", CodeBlock.CodeInfo.TargetID); However I can't figure out how to make a pointer to this. In a line...



The 2024 Embedded Online Conference