Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:lrwan1 [2024/09/10 13:46] – [Pinout] darron | boards:lrwan1 [2024/09/18 13:21] (current) – [LoRaWAN firmware] darron | ||
---|---|---|---|
Line 9: | Line 9: | ||
\\ \\ | \\ \\ | ||
{{boards: | {{boards: | ||
+ | \\ \\ | ||
+ | {{boards: | ||
</ | </ | ||
Line 85: | Line 87: | ||
</ | </ | ||
- | ==Arduino== | + | ==Arduino |
< | < | ||
I2C | I2C | ||
Line 132: | Line 134: | ||
PB10 LPUART_TX | PB10 LPUART_TX | ||
PB11 LPUART_RX | PB11 LPUART_RX | ||
+ | |||
+ | PB6 I2C1 SCL | ||
+ | PB7 I2C1 SDA | ||
</ | </ | ||
Line 160: | Line 165: | ||
</ | </ | ||
- | ==Custom firmware== | ||
- | [[https:// | + | ===JLink=== |
+ | |||
+ | Patch the host [[boards: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | SEGGER J-Link Commander V7.98f (Compiled Aug 29 2024 10:30:06) | ||
+ | DLL version V7.98f, compiled Aug 29 2024 10:29:39 | ||
+ | |||
+ | Connecting to J-Link via USB...O.K. | ||
+ | Firmware: J-Link STLink V21 compiled Aug 12 2019 10:29:20 | ||
+ | Hardware version: V1.00 | ||
+ | J-Link uptime (since boot): N/A (Not supported by this model) | ||
+ | S/N: 772410336 | ||
+ | VTref=3.300V | ||
+ | |||
+ | |||
+ | Type " | ||
+ | J-Link> | ||
+ | Please specify device / core. < | ||
+ | Type '?' | ||
+ | Device> | ||
+ | Please specify target interface: | ||
+ | J) JTAG (Default) | ||
+ | S) SWD | ||
+ | T) cJTAG | ||
+ | TIF>s | ||
+ | Specify target interface speed [kHz]. < | ||
+ | Speed> | ||
+ | Device " | ||
+ | |||
+ | |||
+ | Connecting to target via SWD | ||
+ | InitTarget() start | ||
+ | SWD selected. Executing JTAG -> SWD switching sequence. | ||
+ | DAP initialized successfully. | ||
+ | InitTarget() end - Took 9.43ms | ||
+ | Found SW-DP with ID 0x0BC11477 | ||
+ | DPv0 detected | ||
+ | CoreSight SoC-400 or earlier | ||
+ | Scanning AP map to find all available APs | ||
+ | AP[1]: Stopped AP scan as end of AP map has been reached | ||
+ | AP[0]: AHB-AP (IDR: 0x04770031, ADDR: 0x00000000) | ||
+ | Iterating through AP map to find AHB-AP to use | ||
+ | AP[0]: Core found | ||
+ | AP[0]: AHB-AP ROM base: 0xF0000000 | ||
+ | CPUID register: 0x410CC601. Implementer code: 0x41 (ARM) | ||
+ | Found Cortex-M0 r0p1, Little endian. | ||
+ | FPUnit: 4 code (BP) slots and 0 literal slots | ||
+ | CoreSight components: | ||
+ | ROMTbl[0] @ F0000000 | ||
+ | [0][0]: E00FF000 CID B105100D PID 000BB4C0 ROM Table | ||
+ | ROMTbl[1] @ E00FF000 | ||
+ | [1][0]: E000E000 CID B105E00D PID 000BB008 SCS | ||
+ | [1][1]: E0001000 CID B105E00D PID 000BB00A DWT | ||
+ | [1][2]: E0002000 CID B105E00D PID 000BB00B FPB | ||
+ | Memory zones: | ||
+ | Zone: " | ||
+ | Cortex-M0 identified. | ||
+ | J-Link> | ||
+ | </ | ||
+ | |||
+ | ===LoRaWAN firmware=== | ||
+ | |||
+ | |||
+ | Patches for I-CUBE LoRaWAN 1.2.2 are [[https:// | ||
+ | |||
+ | The I-CUBE LoRaWAN demo has been already patched and updated to support GNU make [[https:// | ||
+ | |||
+ | NB once the factory default firmware is wiped it cannot be restored. | ||
- | It is assumed that once the factory default firmware is wiped that it cannot | ||
- | be restored, however, the factory firmware appears to be buggy so no loss. | ||
===Resources=== | ===Resources=== | ||
Line 175: | Line 246: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// |