[help needed] cant work with tunerstudio

Your chance to introduce yourself and your vehicle
Post Reply
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

cant work with tunerstudio

Post by erikmag »

buen dia soy de mexico

tengo el problema de que mi placa no se conecta con tunerstudio, ya seleccioné correctamente el programa de configuracion ".ini"

solamente se conecta por "RUSEFI_CONSOLE"

monitoring the serial port this appears
Attachments
Captura de pantalla 2018-02-16 14.01.33.png
Captura de pantalla 2018-02-16 14.01.33.png (10.02 KiB) Viewed 14109 times
User avatar
AndreyB
Site Admin
Posts: 14331
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: cant work with tunerstudio

Post by AndreyB »

Hola, que paso?

Maybe shoot a video of what exactly do you have on your bench and what exactly are you doing? Show the wires and show the programs and what you click and how.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

I occupy the MS plate, I just made a plate to use the development board.

In the other image, the ports that I use are appreciated.

in tunerstudio it appears that you are reading the controller but it remains at 4,6,10 or 14%
Attachments
Captura de pantalla 2018-02-16 15.06.18.png
Captura de pantalla 2018-02-16 15.06.18.png (101.43 KiB) Viewed 14103 times
User avatar
AndreyB
Site Admin
Posts: 14331
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: cant work with tunerstudio

Post by AndreyB »

Picture or video are worth 1000 words
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

User avatar
AndreyB
Site Admin
Posts: 14331
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: cant work with tunerstudio

Post by AndreyB »

So Tunerstudio kind of connects but fails to finish load. I have not seen this iszue before

Are you sure firmware and ini file from same bundle?

Picture of board?

Do you have discovery to try?

Native stm32 usb or usb-ttl adapter?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

the ".ini" file if it is correct.

I use a rs232 converter to ttl levels

in the photo my pcb card is appreciated, yes its native stm32f4 discovery
Attachments
Captura de pantalla 2018-02-16 15.17.51.png
Captura de pantalla 2018-02-16 15.17.51.png (592.56 KiB) Viewed 14097 times
User avatar
AndreyB
Site Admin
Posts: 14331
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: cant work with tunerstudio

Post by AndreyB »

Try microusb to confirm it would work

Try lowering serial speed via tunerstidio via microusb

Which exact ttl? Coild your ttl be not jappy with 3 volts on discovery?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

if it reads well, that part is well verified, in fact from 2.5 volts it takes it as a logical
User avatar
AndreyB
Site Admin
Posts: 14331
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: cant work with tunerstudio

Post by AndreyB »

What reads well? I do not follow

Have you tried lower speed? That requires changes via tunerstusio

Tunersrudio has "debug comms" option, van you try?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

with console work fine

Abricos
contributor
contributor
Posts: 849
Joined: Mon Aug 18, 2014 12:32 am
Location: Carteret, NJ 07008

Re: cant work with tunerstudio

Post by Abricos »

where did you buy stm32f4 discovery ???
LED they are all green or have other colors ???
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

buy them on ebay.

yes all leds are green
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: cant work with tunerstudio

Post by kb1gtt »

The official STM32 dev board has a red, orange and blue LED's. It is possible that your board is a china board and is not the same specifications as the official board. The official boards are not very expensive. Could you try an official board?
https://www.tindie.com/products/russian/stm32f4discovery-brain-board/

Perhaps @can comment about the STM32F411. Those look about the same. I'm not sure if they are completely compatible or not.
Welcome to the friendlier side of internet crazy :)
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

It cost me the same, I will send one request and I will tell you my experience
AldoQ
Posts: 43
Joined: Wed Apr 01, 2015 11:21 pm

Re: cant work with tunerstudio

Post by AldoQ »

Hola
a mi me paso lo mismo
yo tube que cambiar el cable usb
y en otra ocasion despues de hacer una actualizacion del firmware , y se soluciono cargando de nuevo el firmware
de donde eres
saludos
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

DE OAXACA, el cable serial no es, estaba pensando realmente si era el firmware, siempre me arroja lo que subí en la foto de mi primer post, programo el release pero pareciera que fuera el debug, queria instalar una version anterior pero no encuentro ninguna.
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

Well, with the novelty of trying another card and it worked wonders, buy the card I told kb1gtt, and it worked great, I do not know what it should be, any progress I will comment on my knowledge in electronics can be of great help.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: cant work with tunerstudio

Post by kb1gtt »

Those alternative boards commonly have small changes which are lower cost, and not compatible. For example, the XTAL is often not within specification. For example an 8MHz XTAL might be like 7.99MHz. For most applications, this is not a huge concern. However in this application, these kinds of clock errors are critical.

I'm glad to hear it is now working for you.
Welcome to the friendlier side of internet crazy :)
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »

Well, I started to solder the components to my card and I still had the same problems, until I realized that the input of my pressure sensor I left it in PB0 and activated "TEST_MODE", that was my problem from the beginning, hehehehehe, with the console, it sends in automatic "n" because it detects that it is working in "TEST" mode with tunerstudio the same thing does not happen, I changed the input of the pressure sensor and now I have two cards working.

I leave the link and see what I received, this is the first image I went up.

https://rusefi.com/wiki/index.php?title=Manual:Hardware_Test_Mode
erikmag
Posts: 31
Joined: Sat Jan 06, 2018 3:23 am

Re: cant work with tunerstudio

Post by erikmag »



good news....
Post Reply