Issues flashing PSoC 5LP using SEGGER J-Link

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JaSi_1632926
Level 4
Level 4
Welcome! 25 replies posted 10 replies posted

Hello,

I'm having issues flashing a PSoC 5 LP device using SEGGER J-Link. If I flash the same .hex using PSoC Programmer and MiniProg it works.

If I use PSoC Programmer and MiniProg to read out the memory, I can see that the only difference in the two cases is that when flashing with MiniProg 'Config Flash Area' address 0x0400 contains some data (roughly between 0x0400 and 0x0f80).

- What is this data?

- Where does it come from?

- How can I flash it using J-Link?

Thanks, Jacob

0 Likes
1 Solution
JobinT_31
Employee
Employee
50 solutions authored 25 solutions authored 10 solutions authored

Hi Jacob,

Can you try disabling the 'Store configuration data in ECC memory' in systems tab.

If true, device configuration data will be stored in ECC memory to reduce main FLASH memory usage. Error correction may not be used when this option is enabled.

Flash configuration data is stored at flash location 0x8000 0000

http://www.cypress.com/file/119651/download

page 76.


Regards

Jobin GT

View solution in original post

0 Likes
4 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Please check  the discussion at this  link, it would be useful:

What should I do to use JLINK to program the psoc4 ble?

0 Likes

The link you provided doesn't seem to solve my problem. I am able to program PSoC 4 and PSoC 6 devices using the J-Link, it's only PSoC 5 LP that doesn't work.

0 Likes
JobinT_31
Employee
Employee
50 solutions authored 25 solutions authored 10 solutions authored

Hi Jacob,

Can you try disabling the 'Store configuration data in ECC memory' in systems tab.

If true, device configuration data will be stored in ECC memory to reduce main FLASH memory usage. Error correction may not be used when this option is enabled.

Flash configuration data is stored at flash location 0x8000 0000

http://www.cypress.com/file/119651/download

page 76.


Regards

Jobin GT

0 Likes

Hello,

Thanks! That solved my issue.

   Jacob

0 Likes