Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Switching debug port on the fly (Read 1409 times)
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Switching debug port on the fly
Jun 10th, 2017 at 12:13pm
Print Post  
Is it possible, inside the VisualMicro to change com port before entering in debug mode?
The problem arize, because, I could realize wireless flashing via esp-link firmware(https://github.com/jeelabs/esp-link).

During the flash procedure I have to use VSP with port 2323.

But this port is unacceptable during debug, because the step command 0x63 from VM debugger causes processor to switch to flash mode. 
On the other hand, using port 23 does not causes this issue, but is unimplemented during flash procedure.

The idea is to use two com ports, e.g. com3:2323 for flashing and com4:23 for debug. 
The task is to make port switcing between flash and debug phases.

Is it possible?

My discussion on github:
https://github.com/jeelabs/esp-link/issues/297

Thanks in advance, 
Vladimir
« Last Edit: Jun 10th, 2017 at 12:14pm by Kabron »  
Back to top
 
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Switching debug port on the fly
Reply #1 - Jun 10th, 2017 at 1:16pm
Print Post  
Find working solution:
Menu>VMICRO>Debugger>Override Local Port
« Last Edit: Jun 10th, 2017 at 1:16pm by Kabron »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint