Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

This widget could not be displayed.
Not applicable
Hello,

I am using TC27x Triboard. when i tried to Flash my Application in Flash0 i am getting a Sequence Error.
I am able to write 248 Bytes, but when i try to write second time i am getting a error. SQER bit of Register FLASH0_FSR is set(ERROR)
As i read from datasheet, it is due to Aurix supports only Page or multiple page write(32 Bytes) .
So if i want to write more or less than a page size what i should do?
0 Likes
3 Replies
µC_Wrangler
Employee
Employee
100 sign-ins 25 likes received 25 solutions authored
Hi Kuldeep. Each write must start at an address that is aligned to a 32-byte boundary. You can't write less than that - you'll have to pad your data to meet the next boundary.

You used the phrase "when I try to write a second time" - just in case, bear in mind that you cannot write to the same page twice. You'd have to erase the sector containing the page before you can write to the page again.
0 Likes
This widget could not be displayed.
Not applicable
Thanks neel.

As i said i am using TC27x and this MCU contains two type of Flash with different address and same name/size.

0x8000 0000 - 0x801F FFFFh PF0 AC_PF0
0xA000 0000 - 0xA01F FFFFh PF0 AN_PF0

I flashed my Application file in both Flash to analyze the difference and it flashed without any error but i didn't get any difference.
why we have two flash and what is significant difference between this two Flash.
Kindly provide me information it.
0 Likes
µC_Wrangler
Employee
Employee
100 sign-ins 25 likes received 25 solutions authored
Both addresses actually refer to the same program flash bank - see Table 4-2 in the TC27x User Manual. The difference is that 0x80xxxxxx is cached, but 0xA0xxxxxx is not.

PF0 occupies from 0x80000000-0x801FFFFF; PF1 occupies 0x80200000-0x802FFFFF.
0 Likes
This widget could not be displayed.