Murata Type 2FR module support by Zephyr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Murata Type 2FR module support by Zephyr

520 Views
_arthur_
Contributor II

Hello,

I'm using the Murata type 2FR module on my custom board. On the other hand, I developed most of my firmware on the FRDM_RW612 board.

Now I'm trying to port my current firmware (targeted for the frdm_rw612) to my custom board. Because I'm struggling to do that, I started with the simple hello-world Zephyr example.

I'm trying to create my own board configuration. The FCB will be different, because the embedded NOR SPI flash is different from the FRDW_RW612. Murata gave me the 2 attached file used with FreeRTOS to configure the flash. I tried to use them and replace the MX25U51245GZ4I00_FCB.c

Then I'm flashing my board through ISP with the following commands (provided by Murata too):

set comport=COM9
set timeout=-t 60000

if [%comport%]==[] (set /p "comport=Enter COM Port (if COM port 7 then enter COM7): ")

blhost.exe -p %comport% %timeout% -- write-memory 0x20001000 fcb_WIN.bin
blhost.exe -p %comport% %timeout% -- configure-memory 0x9 0x20001000
blhost.exe -p %comport% %timeout% -- get-property 0x19 0x9
blhost.exe -p %comport% %timeout% -- flash-erase-region 0x08000000 0x1000
blhost.exe -p %comport% %timeout% -- fill-memory 0x20001000 0x04 0xf000000f
blhost.exe -p %comport% %timeout% -- configure-memory 0x9 0x20001000
blhost.exe -p %comport% %timeout% -- flash-erase-region 0x08000000 0x10000
blhost.exe -p %comport% %timeout% -- write-memory 0x08000400 sdk20-app-wb.bin 

 

sdk20-app-wb.bin being the name of their hello world, I'm replacing that filename with my firmware filename. (I also updated the previoud flash-erase-region) to remove enough bytes based on my firmware size.

Eventually, when I flash the board, it's working with the original sdk20-app-wb.bin from Murata (the board reset and write "hello-world+++" on USART) but it's not working with my zerphy hello world example (The MCU always reboot in ISP mode).

What am I doing wrong? Do you have a board configuration for this Murata module? I'm using the same pins (as the FRDM_RW612) for the ethernet phy and the flexcomm3 usart. Do you have an board configuration matching this Murata's module?

Thank you,

Arthur

0 Kudos
Reply
1 Reply

479 Views
RomanVR
NXP Employee
NXP Employee

Hello @_arthur_, hope you are doing well.

Could you please confirm if you are adding your custom board to your Zephyr project and if the application you built was meant for the frdm rw612?

For any custom board based on a SoC, it is needed to adapt not only the memory FCB, but also to adapt the device tree, yaml files and CMakeLists. Please refer to the Zephyr Board Porting Guide for more specific recommendations to add your board support to your Zephyr project.

As an additional note, please make sure that you changed the reference to your FCB in the CMakeLists at your board path (for FRDM-RW612, this path is at boards/nxp/frdm_rw612).

RomanVR_1-1760993952086.png

Please let me know if the information is useful.

Best Regards!
0 Kudos
Reply