You are here

Write App Configuration via UART [SOLVED]

2 posts / 0 new
Last post
v8-rt
Offline
Last seen: 1 year 7 months ago
Joined: 2020-03-13 21:14
Posts: 4
Write App Configuration via UART [SOLVED]

Hi,

I'd like to read the App Configuration from a VESC, to an Arduino, update one value (PPM, ramp_time_pos), and then send the whole app configuration back to the VESC.

After sending "2 1 17 2 16 3" (message<256 Byte, length=1 Byte, COMM_GET_APPCONF, CRC checksum, End message),

i receive "3 1 112 17 73 122 91 145 31 0 0 3 232 0 ... ..." (message > 255 Byte, length = 1*256+112 = 368 Byte, 17,73,122,91,145 <- ???, 31=controller_id, 0+0+3*256+232 = 1000 timeout_msec, ... ...)

 

Now my two questions:

1) What do "17 73 122 91 145" stand for? 17 could mean "i'm sending APPCONF", the others probably Firmwareversion? (If so, how is this calculated?)

2) Do i need to add these to the package, that i build after updating appconf.app_ppm_conf.ramp_time_pos?

 

Thank you in advance!

 

[SOLVED]: new message must look like: 3 1 112 16 73 122 91 145 31 0 0 3 232 0 ... ... to edit the appconfg on the VESC. Successfully tested! yes

Halas1941
Offline
Last seen: 3 years 12 months ago
Joined: 2020-11-29 14:03
Posts: 1

I think that every student dreams of getting excellent grades and at the same time being on a scholarship ?! Each student can use this site 

https://essaywriter.org/do-my-paper where you can quickly and easily order a variety of written works.