cancel
Showing results for 
Search instead for 
Did you mean: 

STM8AL3189 flashing of image on address above 0xFFFF that code is not working and using STVD tried

Anand Kumar
Associate III

Hi Team,

I am using the STM8AL3189 controller, created 2 images where,

  1. 1st image will flash with 0x8100 to 0xffff and
  2. 2nd flashing of the image will flash on 0x10000 to 0x17fff (address above 0xFFFF )

we have changed the linker file with the startup file as crtsi.s and libisl.sm8

libm.sm8 libraries.

And changed to s19 in S2 format (24 bit addressing) chex -f2 (option)

both the images are not working in this case, but if both the images are within 0x8100 to 0xFFFF, both the images are working.

to check the memory restriction , I have created a project in STVD and mapped the address to 0x10000 and configured it for simulation mode to check but it shows error message "stopped at write protection at 0xFFFF)

can you please help me out . whats the mistake and I have attached the project and image for your reference

Thanks,

Anand Kumar0693W00000AMQ3oQAH.png

0 REPLIES 0