To Verify and check the external Falsh(24C256 - Atmel) functionality with Da14531

Learn MoreFAQsTutorials

6 posts / 0 new
Last post
Kodeeswaran
Offline
Last seen:4 months 2 weeks ago
Joined:2020-02-29 05:58
To Verify and check the external Falsh(24C256 - Atmel) functionality with Da14531

Hi Team,

Currently I am working on custom designed PCBA( Da14531) with multiple sensor on same board.

flash OTP存储器,我会与Falshand I tried with Atmel 24C256 with I2C protocol.

Able to upload my hex file into flash memory as mentioned on above device using smartsnippet tool.

It is not booting from flash.

also I observed that list of device to support for the booting, for I2C the device M24M01 - R from STMicroelectronics.

will it work only for the above device?

Please guide me to resolve this issue.

Keywords:
Device:
PM_Dialog
Offline
Last seen:15 hours 29 min ago
Staff
Joined:2018-02-08 11:03
Hi Kodeeswaran,

Hi Kodeeswaran,

Thanks for your question. Could you please try to explain the procedure you are following and also provide extra inputs?

Can the device boot from System-RAM ? In which pins the flash is connected with the DA14531 and what is the flash number?

>>>To flash it on OTP memory , I would do with Falsh and I tried with Atmel 24C256 with I2C protocol.

Can you please clarify this? Do you want to boot from SPI flash or OTP?

Thanks, PM_Dialog

Kodeeswaran
Offline
Last seen:4 months 2 weeks ago
Joined:2020-02-29 05:58
Hello Team,

Hello Team,

I have followed below steps,

1. Taken DA14531 development board with daughter card and Atmel 24c256 EEPROM device.

2. I have connected my EEPROM SCL and SDA pins at P0.3 and P0.4 of development board.

3. Opened the Smartsnippet tool and enter into JTAG option then EEPROM programming

4. Now I have opened my .hex file on left side window and on right side first I have given "connect".

5. then clicked on "Read 32Kb"

6. then Clicked on "Erash with 1"

above all went well.

7. Now did "burn" that also Succeseed.

8. when I click on burn and verify it was giving some error like at location 0x00.

but I can see partially the EEPROM is written with my hex file, but after resetting there is no response from the board.

I want to boot from EEPROM which in connected on I2c.

Please help me to resolve this issue.

PM_Dialog
Offline
Last seen:15 hours 29 min ago
Staff
Joined:2018-02-08 11:03
Hi Kodeeswaran,

Hi Kodeeswaran,

Please take a look at theAN-B-072: DA14531 Booting from OTP and Serial Interfacesapplication not and in section 13 the list of supported SPI FLASH and EEPROM memories is shown.

Since you are interested in booting from the specific memory, then you should add it in the 6.0.14.1114\utilities\flash_programmer project.

When using the Smart Snippets to burn the EEPROM, you have two option to do that, through UART or through JTAG interface. Smart Snippets doesn't support any kind of flash by default, when you hit the connect button when trying to program the eeprom there is a small firmware that is downloaded into the 531 called flash_programmer_531.bin in case of UART or jtag_programmer_531.bin in case of JTAG. That images are downloaded from the tool when you are going to program the EEPROM.

To support the specific eeprom, you should add in the i2c_eeprom.h header file first. Then you should build the project and put the jtag_programmer_531.bin or the flash_programmer_531.bin in the SmartSnippets installation path - SmartSnippetsStudio2.0.14\Toolbox\common_resources\SupportPackages\DA1453x\toolbox_resources\common

Thanks, PM_Dialog

Kodeeswaran
Offline
Last seen:4 months 2 weeks ago
Joined:2020-02-29 05:58
Hi Team,

Hi Team,

Thanks for the your reply.

Let me understand more on your reply and have following questions.

1. Let us assume that I have one "X" application code, whether I have to add this flash_programmer code/files/project into 'X" application project?

2. what kind of modification I have to do or whether I need to do new code for that pariticular EEPROM?

Please help me to resolve it.

PM_Dialog
Offline
Last seen:15 hours 29 min ago
Staff
Joined:2018-02-08 11:03
Hi Kodeeswaran,

Hi Kodeeswaran,

All you need to do is to add the proper configurations for the specific memory. Please take a look at the user_periph_setup.h hader file and you will see couple EEPROM related defines. So, you need to check if that defines are according to your EEPROM specifications. Then, build the project and place the binary in the SmartSnippets Toolbox path (see my previous answer). After that, you should be able to burn the application in the EEPROM.

For you first question, I am sure if I have understood it, so can you please clarify it?

Thanks, PM_Dialog