2004-06-17 06:07 PM
2011-05-17 03:01 AM
I configured my loader project much like the example of the upsd33xx boot.
my loader project psd configuration is like this (i copy it from the .abl file): rs0 = ((address >= ^h2000) & (address <= ^h3FFF)); csiop = ((address >= ^h0200) & (address <= ^h02FF)); fs0 = ((page == 0) & (address >= ^h8000) & (address <= ^hFFFF)); fs1 = ((page == 1) & (address >= ^h8000) & (address <= ^hFFFF)); fs2 = ((page == 2) & (address >= ^h8000) & (address <= ^hFFFF)); fs3 = ((page == 3) & (address >= ^h8000) & (address <= ^hFFFF)); fs4 = ((page == 4) & (address >= ^h8000) & (address <= ^hFFFF)); fs5 = ((page == 5) & (address >= ^h8000) & (address <= ^hFFFF)); fs6 = ((page == 6) & (address >= ^h8000) & (address <= ^hFFFF)); fs7 = ((page == 7) & (address >= ^h8000) & (address <= ^hFFFF)); csboot0 = ((address >= ^h0000) & (address <= ^h1FFF)); 1)My real program is a different uv2 project from the loader project. My real program uv2 project don't know the configuration of the Loader project. I have no psd configuration project for my real project . i have only one psd configuration that i merge with the loader firmware and burn it to the secondary flash with the jtag. My real program uv2 just output a single *.hex file after he was compiled and linked with keil uv2 tool. this hex file that i will need to burn in the main flash as my real program , only knows that he have xdata from 0x2000 - 0x3FFF. it is not familiar with the paging that i configured in the loader project . so , the hex file address fields is incorrect . so i cant just burn the data in the hex file in the addresses that comes from this file . How do i manage this ? thanks [ This message was edited by: hpaskal on 15-06-2004 15:28 ]2011-05-17 03:01 AM
AN1816 may provide some help. It can be found in the Downloads section for the uPSD products:
http://www.stmcu.com/modules.php?name=mcu&file=familiesdocs&fam=80
[ This message was edited by: uPSD on 18-06-2004 06:40 ]