Hello everyone,
I am using SAM4E-EK which have sam4e16E microcontroller, the datasheet says that it has in built boot loader SAM-BA monitor.
In SAM-BA monitor command for writing a byte is "O200001,CA#" I tried that command and read the data at that address using command, "o200001,#" but it reads a 0x08 instead of data which I have written.
Regards,
Shreyas.
SAM-BA Boot program for SAM4E problem
Post
Re: SAM-BA Boot program for SAM4E problem
Are you certain that you are writing to a valid address?
0x200001, it is outside of the flash region of all of the SAM4E variants
e.g. flash range (offsets)
SAM4E16E/C : 0x000000 to 0x0FA000
SAM4E8E/C : 0x000000 to 0x07D000
0x200001, it is outside of the flash region of all of the SAM4E variants
e.g. flash range (offsets)
SAM4E16E/C : 0x000000 to 0x0FA000
SAM4E8E/C : 0x000000 to 0x07D000
Post
but it always show same values like 00, 08,
thank you.
Re: SAM-BA Boot program for SAM4E problem
I also tried to write on another address like, 000001 and other addresses.jharley wrote:Are you certain that you are writing to a valid address?
0x200001, it is outside of the flash region of all of the SAM4E variants
e.g. flash range (offsets)
SAM4E16E/C : 0x000000 to 0x0FA000
SAM4E8E/C : 0x000000 to 0x07D000
but it always show same values like 00, 08,
thank you.
Post
Re: SAM-BA Boot program for SAM4E problem
Try writing to RAM, which is at 0x20000000 or so. Pretty sure the monitor doesn't write to flash, SAM-BA the app writes flash by uploading applets to achieve that. ie you send a stream of code to RAM, and then GO to it.supatel wrote:I also tried to write on another address like, 000001 and other addresses. but it always show same values like 00, 08,
Who is online
Users browsing this forum: No registered users and 1 guest