Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s1-blinky-demo in windows Issues #2

Open
DevenderNathMaurya opened this issue Sep 1, 2024 · 0 comments
Open

s1-blinky-demo in windows Issues #2

DevenderNathMaurya opened this issue Sep 1, 2024 · 0 comments

Comments

@DevenderNathMaurya
Copy link

Hi,

I have configured the development environment for the s1-blinky-demo in windows 11 pro using your github repo docs and youtube tutorial + lots of additional steps in windows.
I am finally able to build the nrf code and build Verilog model.

Build Verilog Model****************
Creating the build directory.
Synthesizing all the verilog files using yosys.
fpga_blinky.v:45: Warning: Identifier `\clk' is implicitly declared.
Placement and routing for the iCE40 uwg30 chip package.
Warning: unmatched constraint 'D1' (on line 1)
Warning: unmatched constraint 'D2' (on line 2)
Warning: unmatched constraint 'D4' (on line 4)
Warning: unmatched constraint 'D5' (on line 5)
Warning: unmatched constraint 'D6' (on line 6)
Warning: unmatched constraint 'D7' (on line 7)
Warning: unmatched constraint 'D8' (on line 8)
Warning: unmatched constraint 'SCK' (on line 9)
Warning: unmatched constraint 'CS' (on line 10)
Warning: unmatched constraint 'COPI' (on line 11)
Warning: unmatched constraint 'CIPO' (on line 12)
Warning: unmatched constraint 'INT' (on line 13)
12 warnings, 0 errors
Generating the FPGA binary file.
Converting the bin file into a .h file for the nRF build process.
Appending the .h file to store binary in flash instead of ram.

  • Terminal will be reused by tasks, press any key to close it.

Build nrf code****************
text data bss dec hex filename
129080 512 5816 135408 210f0 .build/s1_blinky_demo.out
Preparing: .build/s1_blinky_demo.hex
Preparing: .build/s1_blinky_demo.bin
DONE s1_blinky_demo

Problem Needed Help In:

  1. I am not able to debug/flash the hex in the s1 module through VS code. Any document for Windows based build + Debug will be a big help.
  2. I have tried flashing the generated hex directly using nrfjprog but led is not flashing.
    nrfjprog --program s1_blinky_demo.hex --chiperase --verify --reset --log
    nrfjprog --verify s1_blinky_demo.hex
    a) using nrfjprog it writes successfully but verify fails.
    b) Can you provide me your .hex so that can check if my board is ok and flash is correct.

setup

My code:
s1-blinky-demo-main_v2.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant