Difference between revisions of "BoSLcam"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
File:Programmer-probe.png | helpful programmer probe | File:Programmer-probe.png | helpful programmer probe | ||
</gallery> | </gallery> | ||
+ | |||
+ | ==== Config File Format ==== | ||
==== Status File Format ==== | ==== Status File Format ==== |
Revision as of 04:18, 6 May 2024
Programming
To flash the modem firmware and application you will need a Segger j-link debug probe and a computer with the Segger j-link software tools and Python installed.
- Power up the BoSLcam using a battery.
- Plug the Segger J-link into the computer.
- For the modem firmare, follow the instructions at: https://www.bosl.com.au/wiki/NRF9160_modem_firmware to flash modem firmware version 1.3.2 available at: https://www.nordicsemi.com/Products/nRF9160/Download#infotabs
- For the application firmware, open the J-Flash or J-Flash Lite tool if programming for development purposes ([1]). We will tailor instructions for the J-flash lite tool.
- Select the options as per the diagram in the gallery. Click Ok.
- Under the Data File open the firmware "BoSLcam_firmware_revx.x.x.hex" file.
- Connect the pins on the "SWD" header to the associated pins on the J-link probe. A pinout for the J-link for SWD can be found in its instruction manual [2]. The depicted programmer probe may also be found useful for breaking out the small header pins.
- Click the program device button in the J-flash window. If the tool indicates that an error has occurred. Check your wiring and then check it again.
Config File Format
Status File Format
As of firmware revision v1.5.0 the status file format is given as:
DATE-TIME, TIME_SOURCE, CAPTURE_NO, BATTERY_mV, MCCMNC, RSRQ, RSRP
So the log:
2024/03/22-01:44:27 UTC,NETWORK_TIME,11,4175,310260,13,45
means:
DATE-TIME: 2024/03/22-01:44:27 UTC TIME_SOURCE: NETWORK_TIME (time obtained from the network) CAPTURE_NO: 11 (number of images since last reset) BATTERY_mV: 4175 (battery voltage (mV)) MCCMNC: 310260 (the current network operator MCCMNC code) RSRQ: 13 (reference signal recieved power) RSRP: 45 (reference signal recieved quality)