This widget could not be displayed.
Not applicable
Dec 30, 2014
07:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 30, 2014
07:48 PM
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?
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?
- Tags:
- IFX
3 Replies
Jan 02, 2015
12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 02, 2015
12:37 PM
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.
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.
This widget could not be displayed.
Not applicable
Jan 08, 2015
01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2015
01:16 AM
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.
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.
Jan 08, 2015
07:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2015
07:38 AM
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.
PF0 occupies from 0x80000000-0x801FFFFF; PF1 occupies 0x80200000-0x802FFFFF.
This widget could not be displayed.