Skip to content

Instantly share code, notes, and snippets.

View bugobliterator's full-sized avatar

Siddharth Bharat Purohit bugobliterator

View GitHub Profile
Before Failure:
############ HEX DUMP OF DEVID: 0x122 Bank: 0x0 ############
00: EA 00 00 70 00 40 01 00 00 00 00 00 00 00 00 00
10: 00 01 00 00 00 00 00 00 00 84 01 00 00 00 00 00
20: 00 00 00 00 00 00 E4 00 00 00 00 00 00 F7 D5 FF
30: E5 00 6D FF FB FF E3 00 02 07 90 03 DE 00 0E 00
40: 7B 00 00 70 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 1F 00 0F 00 00 00 00 00 00
70: 00 1C F7 FD FF F3 00 62 10 00 00 00 00 00 9D 94
```
# This is an STM32H757I-EVAL board with a single STM32H757XIHx chip
#
# Generated by STM32CubeIDE
# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)
source [find interface/stlink.cfg]
transport select swd
set WORKAREASIZE 0x8000
-- Open Drone ID Dissector for Wireshark
-- Copyright 2021, Gabriel Cox
-- License: apache-2.0
debugMode = 1
odid_protocol = Proto("OpenDroneID", "Open Drone ID Protocol")
--
-- ENUMERATIONS
--[[
Script to control LED strips based on the roll of the aircraft. This is an example to demonstrate
the LED interface for WS2812 LEDs
--]]
--[[
for this demo we will use a single strip with 30 LEDs
--]]
local num_leds = 4
//////////////////////////// Bank read methods
uint8_t AP_InertialSensor_Invensensev3::register_read_bank_icm456xy(uint16_t bank_addr, uint16_t reg)
{
// combine addr
uint16_t addr = bank_addr + reg;
uint8_t send[] = {INV3REG_456_IREG_ADDRH, (uint8_t)(addr >> 8), (uint8_t)(addr & 0xFF)};
// set indirect register address
dev->transfer(send, sizeof(send), nullptr, 0);
HW arch: CUBEPILOT_CUBEORANGEPLUS
FW git-hash: 94716982491b1094250ad2df60765eda5eb6af23
FW version: 1.13.0 0 (17629184)
FW git-branch: pr-cubeorange+
OS: NuttX
OS version: Release 10.2.0 (167903487)
OS git-hash: 7e65e74e24780e20faf298597db7ebf502e87c58
Build datetime: Sep 27 2022 05:25:14
Build uri: localhost
Build variant: default
\0*** Booting Zephyr OS build v3.0.99-ncs1-1 ***
[00:00:00.000,122] \x1B[0m<dbg> bt_hci_core: bt_hci_driver_register: Registered SoftDevice Controller\x1B[0m
\x1B[1;31m--- 270 messages dropped ---
\x1B[0m[00:00:00.018,554] \x1B[0m<dbg> sdc_hci_driver: event_packet_process: Command Complete (0x2036) status: 0x00, ncmd: 1, len 5\x1B[0m
[00:00:00.018,585] \x1B[0m<dbg> bt_hci_core: bt_recv: buf 0x200075d0 len 7\x1B[0m
[00:00:00.018,585] \x1B[0m<dbg> bt_hci_core: hci_cmd_complete: opcode 0x2036\x1B[0m
[00:00:00.018,646] \x1B[0m<dbg> bt_hci_core: hci_cmd_done: opcode 0x2036 status 0x00 buf 0x200075d0\x1B[0m
[00:00:00.018,798] \x1B[0m<dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events\x1B[0m
[00:00:00.018,829] \x1B[0m<dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x200075d0 opcode 0x2036 len 2\x1B[0m
[00:00:00.019,073] \x1B[0m<dbg> bt_id: bt_id_set_adv_random_addr: 2C:01:04:3A:B1:2E\x1B[0m
a.out: file format elf64-x86-64
Disassembly of section .text:
0000000000000760 <_Z12mat_back_subIfEvPT_S1_t>:
void mat_back_sub(T *U, T *out, uint16_t n)
760: 41 57 push %r15
762: 41 56 push %r14
764: 41 55 push %r13
Loaded assembly: /Users/sidbh/Library/Developer/CoreSimulator/Devices/8CE5F8E1-DED8-4973-B4A5-4EBEDE64D335/data/Containers/Bundle/Application/F9DEDF5A-0559-4031-B6D8-63C7F251FE92/Xamarin.iOStest.app/Xamarin.iOS.dll [External]
Loaded assembly: /Users/sidbh/Library/Developer/CoreSimulator/Devices/8CE5F8E1-DED8-4973-B4A5-4EBEDE64D335/data/Containers/Bundle/Application/F9DEDF5A-0559-4031-B6D8-63C7F251FE92/Xamarin.iOStest.app/System.dll [External]
Loaded assembly: /Users/sidbh/Library/Developer/CoreSimulator/Devices/8CE5F8E1-DED8-4973-B4A5-4EBEDE64D335/data/Containers/Bundle/Application/F9DEDF5A-0559-4031-B6D8-63C7F251FE92/Xamarin.iOStest.app/Mono.Security.dll [External]
Resolved pending breakpoint for 'UIKit.UIApplication.Main(System.String[], System.IntPtr, System.IntPtr)' to /Library/Frameworks/Xamarin.iOS.framework/Versions/14.6.0.15/src/Xamarin.iOS/UIKit/UIApplication.cs:85 [0x00000].
Loaded assembly: /Users/sidbh/Library/Developer/CoreSimulator/Devices/8CE5F8E1-DED8-4973-B4A5-4EBEDE64D335/data/Containers/Bun
Debug under mono MONO_LOG_LEVEL=debug mono MissionPlanner.exe
To fix any filename case issues under mono use export MONO_IOMAP=drive:case
Data Dir /home/sidbh/Mission Planner/
Log Dir /home/sidbh/Mission Planner/logs
Running Dir /home/sidbh/Programming/MissionPlanner/
User Data Dir /home/sidbh/Mission Planner/
INFO MissionPlanner.Program - ******************* Logging Configured *******************
INFO MissionPlanner.Program - /home/sidbh/Programming/MissionPlanner/x64/libSkiaSharp
INFO MissionPlanner.Program - SkiaLoaded
INFO MissionPlanner.Program - 64bit os True, 64bit process True, OS Arch X64