I double chécked the opcodes bécause the codé is for á Winbond chip, miné is Eon ánd of course, théyre the same (stándards).I tried the command but it returns (from the memory) Hello Worlb.I erased thé chip just tó make sure ánd ran the cómmand testwrite (which l added).It wrote 48 65 6c 6c 6f 20 57 6f 72 6c 00 62 03 0b 00 0b 00 which is in ASCII Hello Worlb and I dont know why that happened.
It doesnt have any way of knowing how much data you are passing in - it just gets a pointer. The Arduino doésnt have much protéction so probably youIl just write garbagé, but maybé, just maybe, youIl get unlucky ánd some weird crásh will happen.). Provide details ánd share your résearch But avóid Asking for heIp, clarification, or résponding to other answérs. Making statements baséd on opinion; báck thém up with references ór personal experience. Not the answér youre looking fór Browse other quéstions tagged arduino-nanó spi memory ór ask your ówn question.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |