??? 04/13/10 11:56 Read: times |
#175019 - We have progress! Responding to: ???'s previous message |
David Prentice said:
You toggle between access of FLASH or EEPROM via the 'Select EEPROM' button. Then a subsequent 'Device Read' will read the 5131 into the Edit Buffer.
A subsequent Save to File will write the contents to a HEX file. Note that you must keep an eye on the 'EEPROM Buffer Information' pane. The 'Operations Flow' pane alters when you are in EEPROM access mode. Finally! I have some goods news. After doing reading operations and then opening the buffer, I see that I have written some data(It wrote my name, as programmed to do). question is which why doesnt it read it? David Prentice said:
If you want to use the page mode, you need to write a wreeprom_buf(char xdata * ads, char *source, char length) function. This will make sure that you write the current page before you cross into the next page. Exactly the same process as you use when writing multiple bytes to an I2C eeprom. I just need Byte by byte dont want to complicate myself with anything more. David Prentice said:
A Tip: If you want to display something on an LCD, choose a Name or something else that is humanly readable. If you want to display some arbitrary binary value, use sprintf(buf, "%02X", value) Its suppose to display the read characters from the DB, my name to be specific. and I work by sending it directly like this: b=rdeeprom(&user_name[0]); lcd_data=b; |
Topic | Author | Date |
EEPROM Read/Write Issues | 01/01/70 00:00 | |
if it was an external EEPROM | 01/01/70 00:00 | |
if it was an external EEPROM | 01/01/70 00:00 | |
Special sequence. | 01/01/70 00:00 | |
Thanks, but can you please simplyfy it? | 01/01/70 00:00 | |
Hope this explains | 01/01/70 00:00 | |
Managed to fix lockups, but it doesnt read/write | 01/01/70 00:00 | |
You have to choose your API | 01/01/70 00:00 | |
Already did all that | 01/01/70 00:00 | |
char vs int | 01/01/70 00:00 | |
I gave you a function | 01/01/70 00:00 | |
Still no luck | 01/01/70 00:00 | |
unsigned int is not the size of the unsigned int* pointer | 01/01/70 00:00 | |
Why not use the function I gave you. | 01/01/70 00:00 | |
I did use you function | 01/01/70 00:00 | |
My apologies. | 01/01/70 00:00 | |
Sorry to keep dragging you back here... | 01/01/70 00:00 | |
FLIP is a pain | 01/01/70 00:00 | |
We have progress! | 01/01/70 00:00 | |
Terribly sorry to bump but I really need help | 01/01/70 00:00 | |
Found the solution! | 01/01/70 00:00 | |
Study your C textbooks | 01/01/70 00:00 | |
it cant distinguise the sign bit![]() | 01/01/70 00:00 |