Problem with the 24C32 memory component [solved!]

Moderator: Benj

Post Reply
User avatar
tiny
Posts: 200
Joined: Wed Jul 08, 2009 8:29 am
Has thanked: 51 times
Been thanked: 93 times
Contact:

Problem with the 24C32 memory component [solved!]

Post by tiny »

Hello Flowcode Team!

I am using an ECIO40P16 MCU and Flowcode 8.
I have a problem with the 24C32 memory component. I transfer a lot of data to the configuration of my controller, because a string is sent to the MCU via WLAN and then the memory cells are written in a loop.
Under FC7 no problem, under FC8 come out when reading any crooked values.
After I inserted between the write cycles 5mS delay it works also under FC8.

I have attached a simple routine, here is this error nice to see. Just take out the 5mS delay and test it on the MCU.
As a workaround I wrote my own 24C32 component, just without simulation, but with an internal delay in the write operations.
Would be nice if you had a solution and I can integrate the original again!

Christina
Test mit sEeprom.fcfx
(11.8 KiB) Downloaded 237 times
Last edited by tiny on Thu Nov 08, 2018 4:45 pm, edited 1 time in total.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Problem with the 24C32 memory component

Post by Benj »

Hello Christina,

Thanks for letting us know I have now added appropriate tWR delays into the 24C32 and 24C16 components at the end of the write macro.

The updated components should be available via the update system later on today.

User avatar
tiny
Posts: 200
Joined: Wed Jul 08, 2009 8:29 am
Has thanked: 51 times
Been thanked: 93 times
Contact:

Re: Problem with the 24C32 memory component

Post by tiny »

Thank's Ben, with the changed serial EEprom it's going great again!

Christina

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: Problem with the 24C32 memory component [solved!]

Post by stefan.erni »

Hi Ben, Hi Christina

Now the eeprom works for me too.Thank you.
eeprom.PNG
(3.64 KiB) Downloaded 1411 times

Post Reply