Questions to SPI Flash programming with SmartSnippets v3.8

6 posts / 0 new
Last post
cosianer
Offline
Last seen: 5 years 6 months ago
Joined: 2015-05-19 09:11
Questions to SPI Flash programming with SmartSnippets v3.8

Hi, we have questions to SPI Flash programming with SmartSnippets.

But first: programming my DSPS server application to the SPI Flash on the Murata DevKit Version “P2ML3656” worked well with SmartSnippets v3.8.

Now to our application:
In our hardware application a W25X20CL SPI Flash is connected to the LBCA2HNZYZ as described in the Murata lbca2hnzyz-711.pdf, in the smart tag schematics and the AN-B-023. SmartSnippets is connected to our application by UART P0_4, P0_5. Download by SmartSnippets Booter worked well. The DSPS server application worked too. But programming the SPI Flash don'’t work. The Connect worked, but burning or erasing gives following error: “Failed configuring SPI Flash ports and pins”. We have tested the connection to the SPI Flash by an own test software. We toggle the 4 lines to the SPI-Flash one behind the other by test software and measure it with the oscilloscope. The connection to the LBCA2HNZYZ Modul is okay.

My question: can you give me information about the error? Do have an idea what can be wrong?

Another question: We would like to have the schematics (circuit diagram) of the Murata DevKit Version “P2ML3656” for LBCA2HNZYZ-TEMP-D-MU. May be this schematics helps us to resolve the problem. Do you know, how and where we can get this? Thanks for help in advance! Have a nice time!

Device: 
MT_dialog
Offline
Last seen: 1 year 3 months ago
Staff
Joined: 2015-06-08 11:34
Hi cosianer,

Hi cosianer,

I can't find a reason why the SPI won't work, since you 've connected properly and the SPI is supported from the SmartSnippets booter. You can download the schematics from murata's site myMurata – TypeZF/ZY support site https://my.murata.com/en/web/ble_typezf_zy/home

Thanks MT_dialog

cosianer
Offline
Last seen: 5 years 6 months ago
Joined: 2015-05-19 09:11
Hi MT_dialog team,

Hi MT_dialog team,

thanks for your answer. For infomation: I don't use SmartSnippets booter but SmartSnippets SPI Flash Programmer .... I still have the problem. There is no action on oscilloscope, while measuring the 4 PINs MOSI, MISO, CLK and CS of the exernal SPI-Flash. There is still the error message in SmartSnippets SPI Flash Programmer “Failed configuring SPI Flash ports and pins”. I think this is the key to solve my problem. Do you know the reason of this error message? Whats going wrong? Is there no answer from the SPI Flash or is there a problem in settings from SmartSnippets or is the version of SmartSnippets the solution? I an older version (3.4) was a remark in SmartSnippets, about as: "Only W25X10 SPI Flash is supported". I can read the marking of the SPI on the Murata DevKit, its to small. I haven't got the schematics from Murata yet, unfortunately. But I have registered myself there ... May be you know the SPI Flash which is used there ... ?

Thanks in advance again and have a nice weekend!

MT_dialog
Offline
Last seen: 1 year 3 months ago
Staff
Joined: 2015-06-08 11:34
Hi cosianer,

Hi cosianer,

Sorry i am not aware what is the SPI flash murata is using on their dev kit. When downloading code to the Flash using Smart Snippets you are using the uart or the jtag interface? You can try to donwload the latest Smart Snippets version. Also you can have a look at the flash programmer source code (tools\flash_programmer) maybe this will help you solve your issue.

Thanks MT_dialog

cosianer
Offline
Last seen: 5 years 6 months ago
Joined: 2015-05-19 09:11
Hi MT_dialog,

Hi MT_dialog,
here my feeback: It works. it was a problem of my Serial Interface to PCs RS232 to my hardware application. Thers is a MAX232, which need a pull-up resistor addtionally to the 1 k resistor in series to the P0_5 - RX, which is also connected to MSIO from the SPI flash.

You can set my topic to done. Thanks for your help.

MT_dialog
Offline
Last seen: 1 year 3 months ago
Staff
Joined: 2015-06-08 11:34
Hi cosianer,

Hi cosianer,

Appriciate you feedback, glad you figured it out.

Thanks MT_dialog

Topic locked