USB BDM Multilink - Command Files Syntax Help

Started by eric_cina in 68HC1211 years ago 7 replies

I'm using the P&E Micro USB BDM Multilink with CodeWarrior 3.1. I use several command files to help initialize the micro before the BDM...

I'm using the P&E Micro USB BDM Multilink with CodeWarrior 3.1. I use several command files to help initialize the micro before the BDM performs the flash load. One command file in particular is the p&e_preload.cmd file which I have modified to do a sector erase of the entire flash except for my bootloader which is in the upper portion of flash. Recently I have expanded my Bootloader...


68HC12D60A self-erasing

Started by James M. Knox in 68HC1213 years ago

Some of you may recall that a while back I asked if anyone else was having problems with the flash memory in a D60A getting erased. I had...

Some of you may recall that a while back I asked if anyone else was having problems with the flash memory in a D60A getting erased. I had only seen the problem in field units, never with good documentation. The units themselves were always good, and could be reprogrammed. Further, a bootloader in protected flash was okay. One theory was that somehow the


Killing Chips

Started by Mark Butcher in 68HC1213 years ago 9 replies

Hi All Just wondering whether any one knows whether it is possible to destroy HCS devices by incorrectly deleting Flash? I have just built a...

Hi All Just wondering whether any one knows whether it is possible to destroy HCS devices by incorrectly deleting Flash? I have just built a board with the NE64 and I connected it to the debugger. I wanted to download a boot program but wasn't concentrating much - I had seen that the FLASH was not completely blank (I assume it can have a bit of garbage in it when a chip is fresh from


flash programming code for 9S12

Started by Steve Letkeman in 68HC1215 years ago 2 replies

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...

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


loading new dbug12 monitor

Started by Robert Lewis in 68HC1213 years ago 1 reply

Zoltan thank you for the help I have the file now. I have read through the doc sets and searched the web but can't get the file to load...

Zoltan thank you for the help I have the file now. I have read through the doc sets and searched the web but can't get the file to load from the debug12 menu. There is a) Erase Flash (which I did) then I did b) Program Flash I have tried a protocol of 'kermit' and 'zmodem' and sending the bootevb.s19 file, however there is no response from


C32 flash programming

Started by Peter Lissenburg in 68HC1214 years ago 2 replies

Hi all, some bugs just don't go away despite how long you ignore them! I'm trying to use a flash sector for storage of variables. ...

Hi all, some bugs just don't go away despite how long you ignore them! I'm trying to use a flash sector for storage of variables. I have cut the code to the bone, and still find if I single step through it, it works every time. If I try and run through at full speed, it will g


Erasing flash

Started by returnxero in 68HC1215 years ago 3 replies

Was having trouble erasing the flash memory. How would I go about erasing it in assembly?

Was having trouble erasing the flash memory. How would I go about erasing it in assembly?


Cheap ARM7 LPC210x

Started by Oliver Betz in 68HC1213 years ago 11 replies

Hi All, http://www.standardics.philips.com/news/ lpc210x/ two UARTs, two 400 kbps I2C-bus interfaces, two SPI/SSP interfaces, ...

Hi All, http://www.standardics.philips.com/news/ lpc210x/ two UARTs, two 400 kbps I2C-bus interfaces, two SPI/SSP interfaces, four timers with PWM and a 10-bit ADC, 70MHz zero-wait-state flash. 8KB flash, 2KB RAM, 1,47USD@10000 to 32KB flash, 8KB RAM $2.20. Although I don't


Flash/EEPROM Programming via CAN

Started by Trevor Wigle in 68HC1215 years ago 15 replies

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...

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


C128 FLASH Limitations/Capabilities?

Started by jmey...@emittechnologies.com in 68HC1210 years ago 3 replies

What are the read/write cycle limitations of the FLASH system on a HCS12-based controller? 10,000 R/W? 100,000 R/W? Also, if I was to reach the...

What are the read/write cycle limitations of the FLASH system on a HCS12-based controller? 10,000 R/W? 100,000 R/W? Also, if I was to reach the limitations on one block, are the other blocks in danger of loosing their integrity? ------------------------------------


Flash Memory Display help needed

Started by adlai15 in 68HC1213 years ago 3 replies

Hi, I'm using a HC9S12NE64 with a P&E USB Multilink, and CodeWarrior. From my reading I understand that I should be able to view all...

Hi, I'm using a HC9S12NE64 with a P&E USB Multilink, and CodeWarrior. From my reading I understand that I should be able to view all four 16K pages of flash at different times through the 0x8000 - 0xBFFF window. My understanding is that by changeing the PPAGE register (0x30) among 3C, 3D, 3E, and 3F, I should be able to view those pages. But


Re: flash error

Started by sind...@... in 68HC1213 years ago

hi koby, Could you solve your problem of debugger stopping aftrer write? If so please tell me how to do it as i too face the same...

hi koby, Could you solve your problem of debugger stopping aftrer write? If so please tell me how to do it as i too face the same problem. Please send your answer to my mail ID sindhoor_hegde@sind... > > > > hi! >i use the E128 and codewarrior 3.1 .i am trying to write data for the >flash and i can do it only if i use breakpoint after the write(3 >steps da


How many times program Flash

Started by Pascal in 68HC1215 years ago 2 replies

Hello, I want to know how many times we can program a micro using Flash. I heard that it is not infinite Thank you ...

Hello, I want to know how many times we can program a micro using Flash. I heard that it is not infinite Thank you Regards


Help! BDM cannot communicate

Started by Sarah Skinner in 68HC1215 years ago 3 replies

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...

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


flash card with 9s12

Started by Pascal in 68HC1214 years ago 9 replies

Hello, I am looking for information to drive a flash card (spi or parallele) with a 9s12. Where can i find information about soft...

Hello, I am looking for information to drive a flash card (spi or parallele) with a 9s12. Where can i find information about soft and/or hard design? Thank you very much Regards


Interface with Compact Flash

Started by Kerry Berland in 68HC1215 years ago 7 replies

Has anyone done a project in which a 68HC12 series MCU uses a Compact Flash cartridge to store large amounts of application data? ...

Has anyone done a project in which a 68HC12 series MCU uses a Compact Flash cartridge to store large amounts of application data? Any pointers on the hardware/software issues encountered? Thanks in advance for suggestions and comments. Best regards,


HCS12 flash security and cumulative programming

Started by Michal Konieczny in 68HC1213 years ago 2 replies

I'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


why not program "more bits" without erasing?

Started by Jeff Smith in 68HC1211 years ago 19 replies

I've come up with a question in the new Flash/EE on S12. My example code proved that I can program more bits in EEPROM Flash that has already...

I've come up with a question in the new Flash/EE on S12. My example code proved that I can program more bits in EEPROM Flash that has already been programmed. I have successfully tested this in DP256B (1K79X) and DG128B (0L85D). I am confused because documentation has always said that we must erase the word before writing. I even remember one part explaining that in older parts we used to ...


hcs12 flash

Started by in 68HC1216 years ago 2 replies

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


Help

Started by Joe Dee Kay in 68HC129 years ago 1 reply

I accidentally plugged my BDM in backward. Since then I haven't been able to access the flash. I'm thinking it accidentally secured the...

I accidentally plugged my BDM in backward. Since then I haven't been able to access the flash. I'm thinking it accidentally secured the processor. Trying to unsecure the processor I found the 27 step procedure but how do I program the flash when my BDM pod doesn't work? I have a s12compact and I use compod12. -- Joe Dee ------------------------------------