Bulletin-board

From Wiki at Neela Nurseries
Revision as of 22:52, 20 July 2023 by Ted (talk | contribs) (^ Recent Links: Build time warning building Debug)
Jump to: navigation, search

Neela Nurseries bulletin board
Quick posts to share

Keywords: Nordic toolchain


^ Overview nn bulletin board

Esta pagina es para poner enlances y notas que probablemente querremos compartir con otros fuera de estas paginas del wiki NN, o que no vamos a anadir a las paginas permanentemente. Esta lugar en el wiki NN es como un tablon de noticias en los lugares donde acampa la gente.


^ Recent Links

2023-07-10


2023-06-06

2023-05-23

2023-05-01

2023-04-19

yyyy-mm-dd

2023-01-10

0531 . . .

2023-01-08

2023-01-02

2022-12-31

2022-12-29

2022-12-22

2022-11-05

2022-11-02

2022-11-01


2022-10-26

2022-10-25


PWM and dead time in context of PWM, H-bridge application of dead time . . .


Links to NXP AN11538 on State Configurable Timers:

---

---


2022-10-11

2022-10-07


2022-10-05

Quectel_BG95-BG77-BG600L_Series_QuecOpen_RAM_Memory_Management_V1p0.pdf

Sparkfun SEN-17871 KX132-1211 break-out board:

Earlier . . .


2022-08-24

2022-08-18

L4 . . .

U5 . . .

https://portland.craigslist.org/clk/cto/d/battle-ground-ford-450-xl/7541293996.html

2022-08-xx

RPi Pico SPI example code . . .

- - -

  1. RTK7FPA6E1S00001BE, RTK7EKA6M1S00001BU


What to do with old clothing, used garments:



2022-07-22 - RPi Pico success stories - Pimoroni Picosystem

2022-07-18 - Infineon 32-bit micro part family XMC1100 . . .

YYYY-MM-DD


Duniya . . .





^ 2022-11-02 WED - Ford F-450


^ Recent Notes

2023

    0502 - cel module debug output:
    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    

    Similar output with some non-zero data in the NMEA sentences:

    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    $GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0,1*2D                   +-----------------------------+
    $GPVTG,,T,,M,,N,,K,A*23                                   |                             |
    $GPRMC,,A,0000.000000,S,00000.000000,E,,,,,,A,V*17        |  Cannot open /dev/ttyUSB0!  |
    $GPGGA,,0000.000000,S,00000.000000,E,1,00,0.0,-18.0,M,18.0|                             |
    $GNGNS,,0000.000000,S,00000.000000,E,NNNNNN,00,0.0,-18.0,1+-----------------------------+
    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    

    Excerpt 3:

    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    $GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0,1*2D
    $GPVTG,,T,,M,,N,,K,A*23
    $GPRMC,,A,0000.000000,S,00000.000000,E,,,,,,A,V*17
    $GPGGA,,0000.000000,S,00000.000000,E,1,00,0.0,-18.0,M,18.0,M,,*42
    $GNGNS,,0000.000000,S,00000.000000,E,NNNNNN,00,0.0,-18.0,18.0,,,V*0C
    $GPGSA,A,1,,,,,,,,,,,,,,,,*32
    $GPVTG,,T,,M,,N,,K,N*2C
    $GPRMC,,V,,,,,,,,,,N,V*29
    $GPGGA,,,,,,0,,,,,,,,*66
    


Search for `float32_t` definition:

0113

ted@localhost1:~/projects-sandbox/workspace-out-of-tree/modules$ grep -nr float32_t ./* | grep typedef
./hal/nxp/mcux/mcux-sdk/CMSIS/DSP/Include/arm_math_types.h:280:  typedef float float32_t;
./hal/nxp/mcux/mcux-sdk/CMSIS/Include/arm_math.h:409:  typedef float float32_t;
./hal/infineon/mtb-pdl-cat1/drivers/include/cy_syslib.h:618:typedef float    float32_t; /**< Specific-length typedef for the basic numerical types of float */
./hal/infineon/mtb-pdl-cat1/cmsis/include/arm_math.h:541:  typedef float float32_t;
./hal/cmsis/CMSIS/DSP/Include/arm_math_types.h:280:  typedef float float32_t;

0112

2022 . . .

1220

CMakeLists.txt file from NXP with references to srec_cat utility:

1209

Excerpt from cpu0 .config, [$project_root]/build/zephyr/.config:

  46 #
  47 # Devicetree Info
  48 #
  49 CONFIG_DT_HAS_ARM_ARMV8M_MPU_ENABLED=y
  50 CONFIG_DT_HAS_ARM_ARMV8M_SYSTICK_ENABLED=y
  51 CONFIG_DT_HAS_ARM_CORTEX_M33F_ENABLED=y
  52 CONFIG_DT_HAS_ARM_V8M_NVIC_ENABLED=y
  53 CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED=y
  54 CONFIG_DT_HAS_GPIO_KEYS_ENABLED=y
  55 CONFIG_DT_HAS_GPIO_LEDS_ENABLED=y
  56 CONFIG_DT_HAS_KIONIX_KX132_1211_ENABLED=y
  57 CONFIG_DT_HAS_MMIO_SRAM_ENABLED=y
  58 CONFIG_DT_HAS_NXP_IAP_FMC55_ENABLED=y
  59 CONFIG_DT_HAS_NXP_LPC_CTIMER_ENABLED=y
  60 CONFIG_DT_HAS_NXP_LPC_DMA_ENABLED=y
  61 CONFIG_DT_HAS_NXP_LPC_GPIO_ENABLED=y
  62 CONFIG_DT_HAS_NXP_LPC_IOCON_ENABLED=y
  63 CONFIG_DT_HAS_NXP_LPC_IOCON_PINCTRL_ENABLED=y
  64 CONFIG_DT_HAS_NXP_LPC_IOCON_PIO_ENABLED=y
  65 CONFIG_DT_HAS_NXP_LPC_LPADC_ENABLED=y
  66 CONFIG_DT_HAS_NXP_LPC_MAILBOX_ENABLED=y
  67 CONFIG_DT_HAS_NXP_LPC_RNG_ENABLED=y
  68 CONFIG_DT_HAS_NXP_LPC_SPI_ENABLED=y
  69 CONFIG_DT_HAS_NXP_LPC_SYSCON_ENABLED=y
  70 CONFIG_DT_HAS_NXP_LPC_UID_ENABLED=y
  71 CONFIG_DT_HAS_NXP_LPC_USART_ENABLED=y
  72 CONFIG_DT_HAS_NXP_LPC_WWDT_ENABLED=y
  73 CONFIG_DT_HAS_NXP_SCTIMER_PWM_ENABLED=y
  74 CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED=y
  75 CONFIG_DT_HAS_ZEPHYR_MEMORY_REGION_ENABLED=y
  76 # end of Devicetree Info

Excerpt from cpu1 .config, [$project_root]/build/cpu1/zephyr/.config:

  42 #
  43 # Devicetree Info
  44 #
  45 CONFIG_DT_HAS_ARM_ARMV8M_SYSTICK_ENABLED=y
  46 CONFIG_DT_HAS_ARM_CORTEX_M33_ENABLED=y
  47 CONFIG_DT_HAS_ARM_V8M_NVIC_ENABLED=y
  48 CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED=y
  49 CONFIG_DT_HAS_GPIO_KEYS_ENABLED=y
  50 CONFIG_DT_HAS_GPIO_LEDS_ENABLED=y
  51 CONFIG_DT_HAS_MMIO_SRAM_ENABLED=y
  52 CONFIG_DT_HAS_NXP_LPC_GPIO_ENABLED=y
  53 CONFIG_DT_HAS_NXP_LPC_IOCON_ENABLED=y
  54 CONFIG_DT_HAS_NXP_LPC_IOCON_PINCTRL_ENABLED=y
  55 CONFIG_DT_HAS_NXP_LPC_IOCON_PIO_ENABLED=y
  56 CONFIG_DT_HAS_NXP_LPC_MAILBOX_ENABLED=y
  57 CONFIG_DT_HAS_NXP_LPC_RNG_ENABLED=y
  58 CONFIG_DT_HAS_NXP_LPC_SYSCON_ENABLED=y
  59 CONFIG_DT_HAS_NXP_LPC_UID_ENABLED=y
  60 CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED=y
  61 CONFIG_DT_HAS_ZEPHYR_MEMORY_REGION_ENABLED=y
  62 # end of Devicetree Info


Specific build time error:

CMake Warning at /home/ted/projects-sandbox/workspace-for-nexus/zephyr/CMakeLists.txt:809 (message):
  No SOURCES given to Zephyr library: drivers__spi

  Excluding target from build.



Output of Quectel BG95 UART sample app.:

[uart 1] UART Example 80
[uart 1] task run times : 1
[uart 1] task run times : 2
[uart 1] task run times : 3
[uart 1] task run times : 4
[uart 1] task run times : 5


2022-10-04 Tuesday:

Link to Eseye connect instructions for Quectel BG95-M3 module:

[ ] https://docs.eseye.com/Content/BGxx/ConnectBG95ToNetwork.htm

at+cimi

204080746500085

at+ccid

+CCID: 8999922109280000869F

2022-09-xx . . .

Baud rate 115200, settings of 8E1:

b'Z'
0xa7 b'\xa7'
0x80 b'\x80'
0xa0 b'\xa0'
0x20 b' '
0x15 b'\x15'
0x10 b'\x10'
0x68 b'h'
0x40 b'@'
0x5a b'Z'
0xa7 b'\xa7'
0x80 b'\x80'
0xa0 b'\xa0'
0x20 b' '
0x15 b'\x15'
0x10 b'\x10'
0x68 b'h'
0x40 b'@'

Baud rate 115200, settings of 8N1:

b'Z'
b'\xa7'
b'\x00'
b'\x03'
b'\x01'
b'P'
b'\x00'
0x0 b'\x00'
0xfb b'\xfb'
0x40 b'@'
0x5a b'Z'
0xa7 b'\xa7'
0x0 b'\x00'
0x3 b'\x03'
0x1 b'\x01'
0x50 b'P'
0x0 b'\x00'
0x0 b'\x00'
0xfb b'\xfb'
0x40 b'@'


^ Justicia

2023

Justicia social:

Justicia social y political:

2022-11-29


2022-11-28


^ test section 1

2022


2022-02-22



./nrf/include/net/aws_iot.rst:86:* Pass a list containing application specific topics in the :c:func:`aws_iot_subscription_topics_add` function, after the :c:func:`aws_iot_init` function call and before the :c:func:`aws_iot_connect` function call

2021-12-02 Thursday

2021-12-01 Wednesday . . .


  1. https://wiki.irises.org/Mtb/MtbMooseTracks
  2. https://wiki.irises.org/Mtb/MtbPixiWanKenobi
  3. https://wiki.irises.org/Mtb/MtbCascadeTrails

^ generic.cmake with diagnostics added

2022-07-14 ~/projects-sandbox/zephyr-work/out-of-tree/zephyr/cmake/toolchain/zephyr/generic.cmake file listing:

# SPDX-License-Identifier: Apache-2.0

message(NOTICE "*** zztop 7 *** building with var SDK_VERSION set to '${SDK_VERSION}'")
message(NOTICE "*** zztop 8 *** and with var CMAKE_CURRENT_LIST_DIR set to '${CMAKE_CURRENT_LIST_DIR}'")
message(NOTICE "*** zztop 9 *** and with var ZEPHYR_SDK_INSTALL_DIR set to '${ZEPHYR_SDK_INSTALL_DIR}'")
message(NOTICE "*** zztop 10 *** and SDK_MAJOR_MINOR set to '${SDK_MAJOR_MINOR}'")
message(NOTICE "*** zztop 11 - DEV 0714 *** and ZEPHYR_BASE set to '${ZEPHYR_BASE}'")

## if(${SDK_VERSION} VERSION_LESS_EQUAL 0.11.2)
if ( 0 ) 
  # For backward compatibility with 0.11.1 and 0.11.2
  # we need to source files from Zephyr repo
  include(${CMAKE_CURRENT_LIST_DIR}/${SDK_MAJOR_MINOR}/generic.cmake)

  set(TOOLCHAIN_KCONFIG_DIR ${CMAKE_CURRENT_LIST_DIR}/${SDK_MAJOR_MINOR})
else()
  include(${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/generic.cmake)

  set(TOOLCHAIN_KCONFIG_DIR ${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr)

endif()

Some output from station on which demo project buils:

-- Board: sparkfun_thing_plus_nrf9160
-- Cache files will be written to: /home/ted/.cache/zephyr
-- Using toolchain: zephyr 0.12.4 (/opt/zephyr-sdk-0.12.4)
-- Found dtc: /opt/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
*** zztop 1 - DEV 0714 *** and SDK_VERSION set to '0.12.4'
*** zztop 2 - DEV 0714 *** and SDK_MAJOR_MINOR set to '0.12'


^ 2021-09-07 - First comms with Kionix sensor

*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
- SUCCESS - found Kionix accelerometer and device is ready
Hello World! sparkfun_thing_plus_nrf9160
file kx132-1211.c fetching device ID . . .
main.c - Kionix sensor reports its ID, as 32-bit integer 1852795211
main.c - sensor_value.val2 holds 0
main.c - value.val1 as bytes:  0x4B 0x69 0x6F 0x6E   " K  i  o  n "

^ 2021-09-06 short listing of /opt/SEGGER on Ubuntu virtual machine

guest@ubuntu-vm-0p2:/opt/SEGGER$ ls -l /opt/SEGGER
total 4
lrwxrwxrwx 1 root root   23 Nov 18  2020 JLink -> /opt/SEGGER/JLink_V688a
drwxr-xr-x 9 root root 4096 Sep  2 19:47 JLink_V688a

^ 2021-09-03 Segger JLInk lsusb

guest@ubuntu-vm-0p2:~/embedded/ncs/v1.6.1/nrf/samples/nrf9160/at_client$ lsusb
Bus 001 Device 004: ID 1366:0101 SEGGER J-Link PLUS
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Contents of /opt/SEGGER/JLink

guest@ubuntu-vm-0p2:/opt/SEGGER$ ls JLink
Devices        JFlashSPICLExe       JLinkGDBServerExe       JLinkRemoteServerCLExe  JLinkSTM32           JTAGLoadExe                libQtCore.so        libQtGui.so.4.8.7
Doc            JFlashSPIExe         JLinkGUIServerExe       JLinkRemoteServerExe    JLinkSTM32Exe        libjlinkarm.so             libQtCore.so.4      Samples
ETC            JLinkConfigExe       JLinkLicenseManager     JLinkRTTClient          JLinkSWOViewer       libjlinkarm.so.6           libQtCore.so.4.8    ThirdParty
GDBServer      JLinkDevices.xml     JLinkLicenseManagerExe  JLinkRTTClientExe       JLinkSWOViewerCLExe  libjlinkarm.so.6.88.1      libQtCore.so.4.8.7  x86
JFlashExe      JLinkExe             JLinkRegistration       JLinkRTTLogger          JLinkSWOViewerExe    libjlinkarm_x86.so         libQtGui.so
JFlashLiteExe  JLinkGDBServer       JLinkRegistrationExe    JLinkRTTLoggerExe       JMemExe              libjlinkarm_x86.so.6       libQtGui.so.4
JFlashSPI_CL   JLinkGDBServerCLExe  JLinkRemoteServer       JLinkRTTViewerExe       JRunExe              libjlinkarm_x86.so.6.88.1  libQtGui.so.4.8

guest@ubuntu-vm-0p2:/opt/SEGGER$


^ 2021-09-01 nRF and Zephyr toolchain install instructions


^ Tech Companies


^ Common Microcontroller Peripherals


^ HP laptop model 15-ac133ds


^ Olimex products - dev boards and programmers and adapters

https://www.olimex.com/Products/Components/Connectors/MICRO-USB-OTG-ADAPTER/


^ APHIS Contact Information

^ helleborine orchid and others


^ Home remedies for common problems


^ Desert and succulent plants


^ Git references

Reference material: Git book: https://git-scm.com/book/en/v2 Tortious Git: https://tortoisegit.org/docs/tortoisegit/index.html Git branching model: https://nvie.com/posts/a-successful-git-branching-model/


^ Modbus entity addressing and numbering

^ One's compliment and two's compliment


^ Cooking and Recipes


^ Zephyr build messages

sensor_channel' [-Wswitch]
  510 |         case SENSOR_CHAN_KIONIX_BUF_READ:
      |         ^~~~
[178/188] Linking C executable zephyr/zephyr_pre0.elf

[182/188] Linking C executable zephyr/zephyr_pre1.elf

[188/188] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:         43 KB       232 KB     18.53%
             RAM:       39792 B        64 KB     60.72%
        IDT_LIST:          0 GB         2 KB      0.00%








- - - top of page - - -