Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // --------- AirPower Prototype Unit - GET - Developer Output --------- //
- Compiled by 91Tech - @91_tech - youtube.com/91tech
- Main document: https://pastebin.com/CuvaGx0F
- This document contains output for the 'get' command.
- // Contents //
- - Help
- - VERSIONS
- - CS
- - DEV
- - MCU_FW
- - TIMER
- - TIMERS
- - COIL
- - COILS
- - GPIOS
- - SENSORS
- - STATS
- - UDID
- - OTP
- - VER
- - STARTUP_CMDS
- - DEADTIME_PHASE_SHIFT
- - DEADTIME_FORCE
- - NOTCH_FILTER
- --------- Help ---------
- B431-22-P2> get help
- Available commands:
- versions
- cs
- dev
- mcu_fw
- timer
- timers
- coil
- coils
- gpios
- sensors
- stats
- udid
- otp
- ver
- startup_cmds
- deadtime_phase_shift
- deadtime_force
- notch_filter
- help
- * completely unrelated but I chuckled everytime I typed 'get help' *
- --------- VERSIONS ---------
- B431-22-P2> get versions
- [STM32]
- application: 01090014
- [CCG2]
- bootloader: 1.0.699.0
- application: 2.0.714.12
- [FPGA]
- product id: 5, version: 14
- [NCO]
- application: 01.03.0002
- --------- CS ---------
- B431-22-P2> get cs
- invalid number of parameters
- B431-22-P2> get cs 0
- [no output]
- B431-22-P2> get cs 91
- [no output]
- --------- DEV ---------
- B431-22-P2> get dev
- 00:10:37.24 ### [ASSERT] DeviceTracking.c:5100 "getDeviceDetectionStatusCmd", "argc == 1"
- 00:10:37.24 [int getDeviceDetectionStatusCmd(uint8_t, char **, void *)] param count bad (0)
- * Based on the error including 'DeviceTracking', 'dev' likely stands for 'device'. *
- --------- MCU_FW ---------
- B431-22-P2> get mcu_fw
- [main] [0x08014000] 00 10 00 10 a1 b5 03 08 3d b6 03 08 a9 b7 03 08 |........=.......|
- [main] [0x08014040] 11 b6 03 08 11 b6 03 08 11 b6 03 08 ed a7 03 08 |................|
- * this returns 6130 lines *
- Starting line 4147, the output all looks like this:
- [main] [0x08054c40] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
- [main] [0x08054c80] ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
- * split up due to exceeding max size *
- -- Output lines 1-4146 - https://pastebin.com/j2TPC4Un --
- -- Output lines 4167-6130 - https://pastebin.com/yFqg71RG --
- * The output is a total of 528,384 characters, enough to lag out my iMac when copying it from the terminal. *
- --------- TIMER ---------
- B431-22-P2> get timer
- 00:08:56.124 ### [ASSERT] PowerDelivery.c:1156 "getTimerConfigCmd", "argc == 1"
- incorrect number of parameters
- --------- TIMERS ---------
- B431-22-P2> get timers
- timer=TIM8 channel=1 port=PC6 func=4 PWM_2 freq=127772 duty=25.0 output=OFF
- timer=TIM1 channel=1 port=PC0 func=2 PWM_3 freq=127772 duty=25.0 output=OFF
- timer=TIM3 channel=1 port=PA6 func=2 PWM_4 freq=127772 duty=25.0 output=OFF
- --------- COIL ---------
- B431-22-P2> get coil
- 00:12:52.88 ### [ASSERT] PowerDelivery.c:1400 "getCoilConfigCmd", "argc == 1"
- invalid number of parameters
- B431-22-P2> get coil 0
- coil=0 inverter=0 timer=255 x=2 y=3 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- * This appears to get the info of one coil at a time, whereas 'get coils' returns all 22 at once. *
- --------- COILS ---------
- B431-22-P2> get coils
- coil=0 inverter=0 timer=255 x=2 y=3 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=1 inverter=1 timer=255 x=4 y=3 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=2 inverter=2 timer=255 x=6 y=3 z=1 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=3 inverter=3 timer=255 x=8 y=3 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=4 inverter=4 timer=255 x=10 y=3 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=5 inverter=5 timer=255 x=10 y=3 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=6 inverter=6 timer=255 x=10 y=3 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=7 inverter=7 timer=255 x=1 y=2 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=8 inverter=8 timer=255 x=3 y=2 z=1 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=9 inverter=9 timer=255 x=5 y=2 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=10 inverter=10 timer=255 x=7 y=2 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=11 inverter=11 timer=255 x=9 y=2 z=1 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=12 inverter=12 timer=255 x=11 y=2 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=13 inverter=13 timer=255 x=11 y=2 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=14 inverter=14 timer=255 x=2 y=1 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=15 inverter=15 timer=255 x=4 y=1 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=16 inverter=16 timer=255 x=6 y=1 z=1 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=17 inverter=17 timer=255 x=8 y=1 z=3 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=18 inverter=18 timer=255 x=10 y=1 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=19 inverter=19 timer=255 x=10 y=1 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=20 inverter=20 timer=255 x=10 y=1 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- coil=21 inverter=21 timer=255 x=10 y=1 z=2 freq=127772 duty=25.0 output=OFF commType=0 commFlags=0x00
- --------- GPIOS ---------
- B431-22-P2> get gpios
- [no output]
- --------- SENSORS ---------
- B431-22-P2> get sensors
- description raw adc converted calculated
- ----------- ------- ---------- ----------
- mat voltage in 834 608 4955 mV
- 5V Buck output 885 645 1290 mV
- mat current in 102 74 148 mA
- board rev 1724 1257 1257 mV
- brick ID 67 48 65 mV
- --------- STATS ---------
- B431-22-P2> get stats
- Statistics
- UpTime:
- 00 hours
- 14 minutes
- 01 seconds
- Error Flags:
- OTP: false [0]
- OCP: false [0]
- OVP: false [0]
- UVP: false [0]
- Additional Errors:
- 00
- * 'UpTime' returns however long AirPower has been connected. *
- --------- UDID ---------
- B431-22-P2> get udid
- UDID: 20373932-42345709-000C8015
- -- UDID stands for 'Unique Device Identifier' and is used on Apple devices running their software. --
- See: https://en.wikipedia.org/wiki/UDID
- * It is unknown how the UDID is calculated on this AirPower unit. *
- --------- OTP ---------
- B431-22-P2> get otp
- OTP threshold sets @ 50ºC and clears @ 47ºC
- -- OTP may stand for 'One-Time-Programmable Memory'. --
- See: https://semiengineering.com/knowledge_centers/memory/one-time-programmable-memory/
- --------- VER ---------
- B431-22-P2> get ver
- B431-22-P2 firmware version = 01090014
- Jun 7 2017, 17:22:52
- BUILDER: John Doe (jdoe)
- HOSTNAME: john-J45.local
- GIT BRANCH: 'P2T_Factory'
- GIT HASH: 0aa885b (0aa885bba26749b83522037d93c5bd5629a2c85b)
- COMPILER: 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)
- --------- STARTUP_CMDS ---------
- B431-22-P2> get startup_cmds
- No startup commands found.
- --------- DEADTIME_PHASE_SHIFT ---------
- B431-22-P2> get deadtime_phase_shift
- Deadtime phase shift = 200 ns
- --------- DEADTIME_FORCE ---------
- B431-22-P2> get deadtime_force
- Force deadtime is supported on B431 P1Bv2 only
- --------- NOTCH_FILTER ---------
- B431-22-P2> get notch_filter
- Notch filter disabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement