Two steps programming question

General discussion on mikroPascal PRO for ARM.
Post Reply
Author
Message
orpheedulogis
Posts: 240
Joined: 16 Jan 2010 22:26

Two steps programming question

#1 Post by orpheedulogis » 01 May 2023 18:10

Hi all

On STM32F051K6U6 and using only usb programmer (not serial port).
I need to put a "main" soft at 0x5C00 . It works of course.
Now I need to add a bootloader at 0x300 but without erasing "main" soft.
I did it a few days ago (so bootloader and main were working) and now I can't anymore: bootloader will erase 0x5C00 area.

Have you a solution ?

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: Two steps programming question

#2 Post by IvanJeremic » 09 May 2023 11:58

Hi,

Have you take a look on how we implemented the BOOTLOADER in our examples?

You can find the example codes in any MikroC PRO compiler.

Regards,

Ivan.

Post Reply

Return to “mikroPascal PRO for ARM General”