sparkfun / nrf52832_breakout Goto Github PK
View Code? Open in Web Editor NEWBreakout board for the Nordic nRF52832, a BLE/ANT/2.4GHz, Cortex-M4F SoC.
License: Other
Breakout board for the Nordic nRF52832, a BLE/ANT/2.4GHz, Cortex-M4F SoC.
License: Other
Hi,
I am trying to compile the bootloader, but I am not succeeding. I want to use the Ruuvitag and need to redefine the serial pins - hence I am not using a direct upload of the precompiled .hex files.
Running make gives me countless errors - first being that the SDK is not seeing armgcc. It is looking for a specific armgcc version, so I had to manually edit this. The second issue is that nrf.h is not being picked up. (fatal error: nrf.h: No such file or directory
)
So I am a bit lost at the moment. Any ideas? I am compiling on OSX High Sierra. Tearing my hair out at the moment.
Is it possibly because I am using SDK 15 vs. 11?
https://puu.sh/vMOZJ/848d226294.png
Values says 6 pico farat
but description says 15 PF
with a tollerance of 0.5% id like to know what to use ..
i dont want to reflow both 0402 cap's if i mess that one up - thank you
I think the ground connection of the impedance matching capacitor closest to the nRF should the other way around. According to Nordic, the cap's ground should be connected only to the chip's pin and not to the ground plane. This is how they did it in their reference design as well. Or am I missing something?
Hi,
I was using Sparkfun nRF52832 board to test my application, programming it with FTDI over Arduino IDE. Now I made my own PCB and found out that the IC doesn't have bootloader in it and I cannot program it using Arduino IDE.
Fortunately I have SWDIO, SWCLK, P26 and P27 pins available for me out along with a RST and P06 button.
For HW, I have ST-Link v2 and some STM32 boards with SWD. I have also bought a nrf52 DK.
How do I start with this blank IC now? Any solution?
I followed the exact steps mention to compile the bootloader. I also installed GnuMake.
I am using 8 2018-q4-major version as ARM GCC ToolChain. Platform: Windows 10
PATH variables are also added and can be accessed by CMD.
Whenever I run make sfe_nrf52832_dfu
, I get the following error:
E:\Projects\nRF52832_Breakout\Firmware\bootloader-custom>make sfe_nrf52832_dfu
Compiling file: app_error.c
process_begin: CreateProcess(NULL, "C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q1/bin/arm-none-eabi-gcc" -DNRF52 -DBOARD_CUSTOM -DNRF52_PAN_12 -DNRF52_PAN_15 -DNRF52_PAN_58 -DNRF52_PAN_55 -DNRF52_PAN_54 -DNRF52_PAN_31 -DNRF52_PAN_30 -DNRF52_PAN_51 -DNRF52_PAN_36 -DNRF52_PAN_53 -D__HEAP_SIZE=0 -DS132 -DCONFIG_GPIO_AS_PINRESET -DBLE_STACK_SUPPORT_REQD -DBSP_DEFINES_ONLY -DSWI_DISABLE0 -DNRF52_PAN_20 -DNRF52_PAN_64 -DSOFTDEVICE_PRESENT -DNRF52_PAN_62 -DNRF52_PAN_63 -mcpu=cortex-m4 -mthumb -mabi=aapcs --std=gnu99 -Wall -Werror -Os -g3 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -I ./config/dfu_dual_bank_serial_s132_pca10040 -I ./config -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/bootloader_dfu/hci_transport -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/bootloader_dfu -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/scheduler -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/config -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/examples/bsp -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/delay -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/crc16 -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/softdevice/s132/headers/nrf52 -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/util -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/pstorage -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/uart -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/ble/common -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/hci/config -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/uart -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/device -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/hci -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/timer -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/softdevice/s132/headers -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/toolchain/CMSIS/Include -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/hal -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/toolchain/gcc -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/toolchain -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/common -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/softdevice/common/softdevice_handler -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/simple_timer -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/timer -c -o _build/app_error.o E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/util/app_error.c, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [_build/app_error.o] Error 2
I also do not understand how 4.9 2015q1
version is taken while compiling. I have a different version installed and added to PATH
Please help me debug the problem.
If there is anything more information to be provided, I will be glad to do so.
Customer states via forums:
**It appears that there is a setting for reading analog voltages missing or needs to be added.
Trying to read 0 to 3 volts on an analog input pin. Anything over a few hundred mV over ranges the readings. I've seen code that attempts to fix this but I can't get it to work.
The added line I have seen is:
analogReference(AR_VDD4);**
https://forum.sparkfun.com/viewtopic.php?f=182&t=55650&p=225574#p225574
custom_board.h is missing from the repo and is required to compile the bootloader
C4, C12 are 0402 Caps but the dont have any values on them
Hey guys,
the internal reference of my Sparkfun Break out seams to be 0.6V on the Analog input. I need to change the gain setting to round about 3.3V. Is there any chance?
I found something for the adafruit board (analogReference(...)) but it's not working on the Sparkfun Break out.
Is there any chance?
Cheers :)
Hi,
Can you please confirm the command to flash the bootloader to sparkfun nrf52 breakout board?
I am trying to generate a zip of bootloader and softdevice using the following command but nrfutil throws error.
The command is
nrfutil dfu genpkg bootloader.zip --bootloader sfe_nrf52832_dfu.hex --softdevice s132_nrf52_2.0.0_softdevice.hex --dev-type 52 --sd-req 0x81
Hi, I am using the Sparfun NRF52 breakout for a project and I want to develop my own PCB with it later. Is there any simple instruction guide on how to burn this specific bootloader program? Is there any specific hardware or software needed?
Thank you.
I can't seem to make
the boot-loader custom on Windows 10.
I've download the arm-none-eabi-gcc
toolchain and I've installed GnuMake yet when I run make inside the bootloader-custom
directory, I get the following errors:
rm -rf _build
process_begin: CreateProcess(NULL, rm -rf _build, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [clean] Error 2
Any advice would be greatly appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.