SparkFun Forums 

Where electronics enthusiasts find answers.

Everything with the AmbiqSuite SDK tools and software are welcome here.
User avatar
By anilmaddala
#227306
On Ubuntu 18.04.5 LTS. I am able to successfully do hardware test for CH340C https://learn.sparkfun.com/tutorials/sp ... dware-test.

I see the device listed
Code: Select all
anil@anil-laptop:~$ lsusb
Bus 001 Device 009: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
anil@anil-laptop:~$ ls /dev/ttyUSB*
/dev/ttyUSB0
I am trying to get the Ambiq SDK example to work. Following instructions as described in https://learn.sparkfun.com/tutorials/us ... plications

I am unable to upload the built accelerometer example. I selected port 0 and I keep getting Com Port not found - Did you select the right one?. Please help. Commad Line output:
Code: Select all
anil@anil-laptop:~/projects/AmbiqSuiteSDK/boards_sfe/edge/examples/lis2dh12_accelerometer_uart/gcc$ make COM_PORT=COM0 bootload_asb ASB_UPLOAD_BAUD=921600
Makefile:112: warning: you have not defined PYTHON3. assuming it is accessible by 'python3'
Makefile:120: defaulting to 921600 baud for SVL
Makefile:125: warning: you have not defined SDKPATH so will continue assuming that the SDK root is at ../../../../..
Makefile:133: warning: you have not defined COMMONPATH so will continue assuming that the COMMON root is at ../../../../common
Makefile:141: warning: you have not defined BOARDPATH so will continue assuming that the BOARD root is at ../../..
Makefile:149: warning: you have not defined PROJECTPATH so will continue assuming that the PROJECT root is at ..
python3 ../../../../common/tools_sfe/asb/asb.py --bin ../gcc/bin/lis2dh12_accelerometer_uart_asb.bin --load-address-blob 0x20000 --magic-num 0xCB -o ../gcc/bin/lis2dh12_accelerometer_uart --version 0x0 --load-address-wired 0xC000 -i 6 --options 0x1 -b 921600 -port COM0 -r 2 -v 
Header Size =  0x80
original app_size  0x3fa8 ( 16296 )
load_address  0xc000 ( 49152 )
app_size  0x3fa8 ( 16296 )
w0 = 0xcb004028
Security Value  0x10
w2 =  0x10008080
addrWord =  0xc000
versionKeyWord =  0x0
child0/feature =  0xffffffff
child1 =  0xffffffff
crc =   0x49cfc4e4
Writing to file  ../gcc/bin/lis2dh12_accelerometer_uart_OTA_blob.bin
testing: ../gcc/bin/lis2dh12_accelerometer_uart_OTA_blob.bin
Header Size =  0x60
app_size  0x4028 ( 16424 )
Writing to file  ../gcc/bin/lis2dh12_accelerometer_uart_Wired_OTA_blob.bin
Image from  0x0  to  0x4028  will be loaded at 0x20000
Connecting over serial port COM0...
Detected Serial Ports:
USB Serial
Com Port not found - Did you select the right one?
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]