how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
Serial-to-Ethernet & ConfigTool
No replies yet. Be the first to reply.
Join the discussion.
Serial-to-Ethernet & ConfigTool
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by WIZnet AI AI generated ·
RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by Aimee0 WIZnet ·
Please configure the build environment according to the "Development environment configuration" section in the ReadMe.
Additionally, please follow the instructions in Section 9.2 "Building on MS Windows" of the following document to set up the build environment:
https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
After building, you can run the program using the
Boot/Boot.uf2andApp/App_linker.uf2files.RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by UrviShah ·
I have followed all steps as mentioned in "Build and Operation Guide for W55RP20-S2E (Serial to Ethernet)" i.e. given link: https://maker.wiznet.io/mason/projects/build-and-operation-guide-for-w55rp20-s2e-serial-to-ethernet/
Make note that I am not editing any of code part. I am following the correct sequence for loading the firmware - first Boot.uf2 and then App_linker.uf2.
What is the meaning of building bootloader and application components? Right now I am building complete W55RP20-S2E project. Even after successful compilation and generation of Boot.uf2 and App_linker.uf2, I am unable to run device (i.e. not getting ping/ search, etc.)
RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by Aimee0 WIZnet ·
What is the meaning of building bootloader and application components?
-> The W55RP20-S2E project consists of boot code and application code to enable firmware updates via Ethernet, even after the module has been installed in the field without requiring JTAG or USB connections. You can check the flash memory map where the firmware is loaded through the link below.
https://github.com/WIZnet-ioNIC/W55RP20-S2E/blob/main/port/boot/platform_handler/inc/flashHandler.h
After loading Boot.uf2 and App_linker.uf2, you can verify that the system is working by checking the debug messages through the Pico board’s GPIO0 (UART_TX) and GPIO1 (UART_RX), as shown in the figure below. (Baudrate: 921600)
RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by UrviShah ·
Thank you Aimee0 for reply.
I tried to debug as you suggested and what messages I received, given below:
[INFO] main : Hello Bootloader
assertion "!enabled || irq_has_handler(IO_IRQ_BANK0)" failed: file "C:/Users/abc/.pico-sdk/sdk/2.1.1/src/rp2_common/hardware_gpio/gpio.c", line 189, function: gpio_set_irq_enabled
How to solve this error as I have not modified any of source code downloaded from the github zip folder.
RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by Aimee0 WIZnet ·
If you download the project as a ZIP file from GitHub, the directories for submodules inside the
librariesfolder will be empty. You must manually download and add the required submodules. It is recommended to use Pico SDK version v2.0.0.Alternatively, to download the project including submodules, clone the Ethernet examples using the following Git command.
RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by UrviShah ·
Hi,
I downloaded i.e. cloned using this command only:
git clone --recurse-submoduleshttps://github.com/WIZnet-ioNIC/W55RP20-S2E.gitI again verify that my pico sdk version is 2.0.0
With all these setup its giving me errors.
RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by Aimee0 WIZnet ·
Could you kindly confirm if this is the same error as before?
[INFO] main : Hello Bootloader
assertion "!enabled || irq_has_handler(IO_IRQ_BANK0)" failed: file "C:/Users/abc/.pico-sdk/sdk/2.1.1/src/rp2_common/hardware_gpio/gpio.c", line 189, function: gpio_set_irq_enabled
It looks like this error is related to using Pico SDK version 2.1.1.
Could you kindly try setting the environment variable using the following command and rebuilding the project?
If the same error still occurs, we would appreciate it if you could clean the build directory completely and try building again.
If the issue is not resolved, could you please send the full error log and details about your build environment to aimee@wiznet.io?
RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by UrviShah ·
[INFO] main : Hello Bootloader
assertion "!enabled || (raw_irq_mask[get_core_num()] & (1u<<gpio)) || callbacks[get_core_num()]" failed: file "D:/abc/Projects_Backup/Wiznet/W55RP20/W55RP20-S2E/libraries/pico-sdk/src/rp2_common/hardware_gpio/gpio.c", line 190, function: gpio_set_irq_enabled
I modified my settings.json file and included below lines:
"cmake.configureEnvironment": {
"PICO_SDK_PATH": "${workspaceFolder}/libraries/pico-sdk"
}
In vs code terminal powershell window when i run command "echo $env:PICO_SDK_PATH" it gives me path as "D:\abc\Projects_Backup\Wiznet\W55RP20\pico-sdk"
How to verify or reconfigure exact pico-sdk path to build and run successfully...
RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by Aimee0 WIZnet ·
I recommend trying the following two methods.
1)
remove build folder
rebuild with this command in vs code terminal powershell window
2)
remove build folder
run command
and rebuild
RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by UrviShah ·
Hi Aimee0,
I have successfully compiled my S2E code. I bought Raspberry Pi debug probe for debugging purpose of source code. I use SWD connection between debugger and W55RP20 board.
Using VSCode, i am trying to debug my S2E code which was compiled successfully. But as there are two .uf2 files viz. Boot.uf2 and App_linker.uf2, how to debug actual S2E application in vscode?
My project application requirement is: S2E application (as already given) in addition with some GPIO handling (as per my project requirement) that are available on W55RP20 board. So I want to modify S2E source code and make some changes to handle some of the GPIOs as per my requirements.
Could you guide me through this?
RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by Aimee0 WIZnet ·
Since the Boot code only runs during the initial boot-up, the actual functionality of your application is handled in the App code. So, for your case, you can focus on modifying and debugging just the App code.
To add your GPIO features, we recommend adding a separate task within the App code where you can implement the desired GPIO control logic.
If you're looking for more customized firmware support, contact us at direct@wiznet.io.
We can provide customization service to change the initial settings of the product, change the MAC address, add various protocols, and add functions.
RE: RE: how to make W55RP20-S2E-1.1.4 source code generated boot.uf2 and app_linker.uf2 files working
by UrviShah ·
Hi Aimee0,
I tried to contact at direct@wiznet.io but no response.
I want some customization in W55RP20-S2E code as per my project requirement. And for that i need to debug App.c code.
I have successfully compiled W55RP20-S2E source code in VSCode.
-> But unable to debug code
-> also the uf2 files generated by compiling code (i.e. boot.uf2 and App_linker.uf2) unable to search/ ping device. It's like my compiled uf2 files are not working in device.
I wonder no body face this type of problem that i am facing ??? OR nobody has any solution regarding my problem???
Kindly guide me through this.