"ZA" and "ZI" are same, ZA is ZI.
for SPI protocal, pls refer link
for pinout of 300ZI, pls refer link. when you want to connect ST-Link, pls use all 5 pins on 300ZI: NRST/Reference voltage/SWDIO/SWCLK/GND.
For update FW of 300ZI in future by your self, I strong recommend to use boot-loader by Aceinna ANS to update the FW you created, for steps on ANS link pls refer to topic_10 of link
Its calibration area will be easily broken by wrong manual operation with ST-Link V2, so pls read carefully of blow topics:
Backup whole EEPROM firstly, topic_4 of link can guide you backup all areas, such as: calibration, configurations, FW....
Posts made by cek
"ZA" and "ZI" are same, ZA is ZI.
- 300ZI and ST-LINK connection in your side is right, pls refer to below link. download PDF and check the P3 area(but what we used it 20pin ST LINK-v2),
- 300ZI and FTD232RL connnection is right too, it is serial connection.
- GPS -VCC is VCC_in, which used to let GPS receiver working, so VCC/GND of 300ZI and GPS, should both come from other same external power supply 5V , also PC is ok.
pin7 connect go GND, then UART working mode it is.
pin 20 of 300ZI need to reserved, which maybe needed in 20pin ST-LINK used for detect reference vol in ST-LINK. Pin2 is 1pps pin for synchronization, depends on your request.
sure you can program with our open source code, and pls refer to our on-line manual:
also we supply some official apps ready for directly uploading.
I had make short summary in forum about key questions concerned by customers, pls check:
For your part, no need to backup and restore it. Because no SWD interface(development kit(EVK) have) support you to restore it.
So we recommend only normal operations on your part, it is dangerous for you if you want to change the detailed boot loader and FW codes and try self-defined FW in it. if bricked, difficult to restore it and may be you need to back plant for restore again.
We recommend self-define FW testing during developing period on EVK part, on EVK:
- You can backup easily
- restore easily
3.debug FW step by step with ST-Link.
hope clearly for you
the biggest frequency of all 300RI packets is 100hz, so i do not think it is from 300RI, i doubt it is caused by other nodes or other abnormal CAN tools SW setting.
any other node in CAN-net work? is it possible other nodes send the '000'-ID out?
power off 300RI after 2-3s, and then check '000'-ID is still received or not?
Generally in UserAlgorithm.c, you will find:
static uint8_t algoType = AHRS;
it means heading calculation from mag, pls check.
Already enabled in VG_AHRS app on ANS( developers.aceinna.com/code/apps), you can test.
Just a reminder, we didn't calibrated the 300ZI mag in plant, for mag is too easy influenced by environment. and you need to calibrated by your self if you need, steps in topic_11(https://forum.aceinna.com/topic/93/top-topics-of-common-operations-with-openimu-products/2)
Pls refer to SW protocal of UART/SPI:
HW interface as:
@rintaro if it worked and will give feedback, if not you need change the baud rate and try again:
SW/Algorithm Reset generally no problem, cannot lead output data 0.
I still want to know what other actions you had done? e.g. send some commands to IMU.
for the CAL/CONF area may be already broken, but generally you cannot break it only by boot loader(boot loaderworking fine now) except some special commands received. or it can be recover well.
so i need time to find solution to recover your CAL/CONF area, working on it.
if you have other more information, pls let me know.
@rintaro you need to do:
send commands to 300RI to lock one sector of the Unit, by UART.
power off and on, running with python diver and connected by ANS web page. maybe you need to change the packet rate, and click play button. check whether some data output.
after connected by ANS web, pls upgrade to below app, then power off an on, check how the status is in your side.
You are welcome.
Reminder for IMU330/300 SPI users: from SPI part in online manual
- configurations: IMU working in SPI mode; SPI mode 3(CPOL = 1 (polarity) and CPHA = 1 (phase)); Data is transmitted 16-bits words, Most Significant Bit (MSB) first;
- read and write register sequence:
- Follow the timing applies at system startup:
"Before installing it, the IMU doesn't output any data such as acceleration, gyro."
when got it from plant, it should be working well. but your unit configuration not right, so after you received before installing IMU, what actions did you do?
@rintaro pls check the attached FW for 300RI, and upgrade it by Configuration-->Upgrade Firmware, and then pls check whether right data send out or not?
300RI data analysis only supported by [python driver] (https://developers.aceinna.com/devices/connect) eventhough it can also be upgraded by NAV-VIEW,
after connected by ANS web, 300RI will not send UART data at first(for output data rate is 0hz defaultly), so still need to change seting--ODR to none 0hz value.
Wait your feedback.
You mentioned "Before the installation, the device seemed to be always BOOTLOADER mode ", here their is problem.
It should be working well after delivered out by our plant, so after you received what did you do?
What is your meaning of "the installation", is it upload one 300ZI/ZA bin file to 300RI?
pls try to use master or bugfix branch.
or you can you executable program directly, download: https://developers.aceinna.com/devices/connect. operating and record:https://developers.aceinna.com/devices/record-next
https://forum.aceinna.com/topic/93/top-topics-of-common-operations-with-openimu-products, topic_2 pls check e2 packet example.
online doc also mentioned the crc in "3.6 16-bit CRC-CCITT" of https://openimu.readthedocs.io/en/latest/software/UARTmessaging.html#openimu-uart-messaging-framework