cancel
Showing results for 
Search instead for 
Did you mean: 

Need some help creating an IAP app

jmullaney
Associate II
Posted on December 26, 2008 at 23:44

Need some help creating an IAP app

#iap #bootloader #upsd3253
108 REPLIES 108
roger1
Associate II
Posted on May 17, 2011 at 12:04

hey! i am not sure if this thread is still active. but i have read through some of the information in this thread. anyway, i would like to ask if its possible to send me some of the sample files (boot loader, etc) to my e-mail add.

mailto:zoro7117@gmail.com

thank you very much....

jmullaney
Associate II
Posted on May 17, 2011 at 12:04

Zip file on the way...

roger1
Associate II
Posted on May 17, 2011 at 12:05

mulls,

thanks for the zip files.

i am fairly new to this stuff and it might take a while for me to be able to understand the discussions in this thread.

roger1
Associate II
Posted on May 17, 2011 at 12:05

has anybody have tried doing IAP with PSD423G2 and Infineon Microcontroller C161CS? thanks.

-roger-

roger1
Associate II
Posted on May 17, 2011 at 12:05

hey guys i need your help....

i have read through the thread a couple of times, and read through a lot of documents in the ST website, but i still cannot get into motion.

concept wise i have understood how you guys implemented your IAP, but the big difference is that i am currently using a C161CS microcontroller (which is a 'von neuman' architecture, and different instruction set from 8051 mcu - also, i am a newbie in assembly and embedded programming in general.)

anyway, here is my current configuration:

(hardware)

1. mcu - c161cs

2. psd - psd4235G2

in my keil project, my external memory settings are the following:

# type start end

1 ROM 0x0 0xFFFF

2 ROM 0x10000 0x1FFFF

3 RAM 0x20000 0x220FF

4 RAM 0x30000 0x6FFFF

in my PSD project, my current configuration is the following:

fs0 = 0x0000 - 0xFFFF

fs1 = 0x10000 - 0x1FFFF

rs0 = 0x20000 - 0x21FFF

csiop = 0x22000 - 0x220FF

anyway, the above configuration is for my main application. but after this configuration, i am stuck...

1. i do not know how to configure my memory map for IAP, in keil and PSD

as well...

2. i cannot duplicate/copy your startup code, to try if my switching from main apps to iap apps work, because of different instruction set.

aside from the docs that mulls sent me, i have downloaded and read other documents, but still it seems i have been moving 1 step forward and 2 step backwards.

anyway, hopefully you have some fresh ideas that i can start to work with...

thanks.

annechaitanya
Associate II
Posted on May 17, 2011 at 12:05

Hi mulls,

I'm new to micro PSD. I'm developing IAP for 3254.I read the previous messages in this thread.Could you please send the zip files to me.mail id is

mailto:achaitanya@mic.co.in

.

Thanks and Regards,

Chaitanya

hari2
Associate
Posted on May 17, 2011 at 12:05

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6pt&d=%2Fa%2F0X0000000bwT%2FOkMWXk01oe.cmddfpHxZCz3SZGfnP2i_U_AtZZTrIck&asPdf=false
ahnajmi2
Associate
Posted on May 17, 2011 at 12:05

Dear All,

This post was a Great Help.

We were successful in implementing the same and are currently in production. Previously we were using the UPSD3354D-40U6 with battery backup of internal SRAM, but now we are using the UPSD3354D-40U6 without battery backup of internal SRAM as this feature was removed by ST. So we are using external SRAM with battery backup with appropriate changes in the Keil project.

Now we are facing an issue where sometimes the Bootloader Application (IAP mode) is executed instead of the Main Application. This happens either on power on or the Watchdog reset. As the Application is programmed normally and the sttus Byte is set, and the SRAM Key location has the RUN IN MAIN string, mostly the Main Application is executed but its sometimes with unknown reasons the Bootloader Application (IAP mode) executed. We have lot many boards with same issues. We have few boards where this isn’t ever observed.

I check the code several times but could not find any thing. can it be related to turbo mode? we have not changed the default mode.

Thanks

ahnajmi2
Associate
Posted on May 17, 2011 at 12:05

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6la&d=%2Fa%2F0X0000000buv%2FDkd7GlFs3PTIzFzvg47GPPF6dQzjpN18Soxmhq.wtiE&asPdf=false