Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service
   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 3
FAQ ID # 3
 
Question
When I try to program my S-Record, I get an "address out of range" or similar error. My code is definitely within the valid flash ranges of $4000-$FFFF. Why can't I program the flash?
 
Answer
If you are using a processor with paged FLASH, you are most likely experiencing an issue related to the differences between "logical" and "physical" addressing. PEmicro's flash programming algorithms map the flash memory to one contiguous address range. In order to convert your s-record to the proper (physical) format, you should run our free utility, log2phy. For more information on the distinction between these two addressing modes, we would highly suggest looking through the "Operating Modes and Resources" section of your Motorola User's guide for the device you're using. Please note that if you're using Metrowerks Codewarrior, you can simply program the ".phy" file instead of the ".s19" file. This eliminates the need to use the log2phy utility.
 
Related Downloads
Log2phy_12 - Utility which converts HC(S)12(X) Logical Records to Physical S-Records.
Now supports S12X devices EEPROM.

 
Architectures Categories Products
HC(S)12(X) Flash Programming Software PROG12Z
 
Please rate this FAQ to help us improve our support
0 means "not helpful"
10 means "very helpful"
0 1 2 3 4 5 6 7 8 9 10

© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement