nkaje edited a comment on issue #2262: da1469x: otp and serial script 
enhancements
URL: https://github.com/apache/mynewt-core/pull/2262#issuecomment-611059047
 
 
   - Test logs
   
   Manual reset:
   ```
   ./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py 
load -u /dev/ttyUSB1 ./bin/targets/ram_executable/ram_executable.elf.bin 
   Please reset board to enter ROM uart recovery
   b'\x02'
   Detected serial boot protocol
   Loading application to RAM
   Successfully loaded RAM, board will now boot executable
   ```
   
   - Use reset script
   
   ```
   $ ./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py 
load -r repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/reset.sh -u 
/dev/ttyUSB1 ./bin/targets/ram_executable/ram_executable.elf.bin 
   Triggering SWD reset...
   b'\x02'
   Detected serial boot protocol
   Loading application to RAM
   Successfully loaded RAM, board will now boot executable
   ```
   - Communicate with the target:
   ```
   $ ./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py 
test-alive-target -u /dev/ttyUSB0
   Successfully communicated with target
   ```
   and performed other one time programmable routines.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to