External Flash reading Error

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

External Flash reading Error

#1 Post by nikhilvv07 » 02 Dec 2021 11:52

Hello..

Am interfacing dsPic33FJ128gp708 MCU with SST25VF016B flash memory.

Flash memory is using to store image's code created by using VTFT software. The stored Image is displaying directly to tft display.

by using TFT library function / **** TFT_Ext_Image(0,0,0x1a6100,1) ***/ to access flash memory location i am able to get the stored image on display till a perticular memory location may be till 0x1FFFFF.

after this memory location (Not sure about the border address) it showing white screen or some time it shows black screen.

Is there any limit to in tft_ext_image() ? if not why it is happening?

please help to resolve this issue.

Library version is unknown. Dont know how to get it.

User avatar
darko.ilijevski
Posts: 581
Joined: 21 Mar 2017 16:57

Re: External Flash reading Error

#2 Post by darko.ilijevski » 12 Dec 2021 01:38

Hello,
It appears that you reached the maximum capacity of your flash memory: 16 Mb (megabits) = 2 MB (megabytes), and the last memory address of your chip should be - 0x1FFFFF.
Try reducing the size of the image if possible and see if that helps.
BR,
Darko

Post Reply

Return to “Libstock Discussion”