Author Topic: Extract huge amount of data from Device in Debug(STM32)  (Read 1378 times)

0 Members and 1 Guest are viewing this topic.

Offline CurbyTopic starter

  • Contributor
  • Posts: 31
  • Country: de
Extract huge amount of data from Device in Debug(STM32)
« on: April 02, 2018, 02:15:47 pm »
Hi there,

I have a huge amount of data, I would like to extract to an Excel file. I have an array with the size of 10.000 of uint32_t. The whole Items shall be displayed as an chart.

But I'm completely stuck how to export them. Eclipse just allows me to open this array in Debug in groups of 100 pieces. This way i need hours for copying them manually.

I tried using the command dump, but what can I do with the binary oder intelhex data? If eclipse whould open all 10.000 elements at the same time, i could simply copy them. Addiotionally there is every 100 elements the drop down text, I have to remove manually. Horror!

Can someone help me?
 

Offline senso

  • Frequent Contributor
  • **
  • Posts: 951
  • Country: pt
    • My AVR tutorials
Re: Extract huge amount of data from Device in Debug(STM32)
« Reply #1 on: April 02, 2018, 03:07:28 pm »
print then over serial port, comma separated, put into excel, done?

Or simulate all that in the pc side first and do whatever you want with the date before testing code on the micro?
 

Offline CurbyTopic starter

  • Contributor
  • Posts: 31
  • Country: de
Re: Extract huge amount of data from Device in Debug(STM32)
« Reply #2 on: April 02, 2018, 03:14:05 pm »
I need real data, no simulation. I have only Midi and Audio outputs. Here is a picture of eclipse debugging to see what i mean. I could build a Midi to serial Adapter, but why if I have a debugger?
 

Offline bson

  • Supporter
  • ****
  • Posts: 2324
  • Country: us
Re: Extract huge amount of data from Device in Debug(STM32)
« Reply #3 on: April 02, 2018, 09:03:39 pm »
Install and learn to use openocd and dump it to a file.  It's a worthwhile investment in time since this isn't going to be the last time an IDE can't do something simple you need.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf