Comments (12)
I can't communicate with my MSP-EXP432P401R board using iosender
The firmware is for communication with a grblHAL controller with MPG mode enabled, you cannot connect ioSender to it...
PB0/PB1 is used for connecting to the CNC controller MPG UART port.
from grbl_mpg_dro_boosterpack.
Sorry, there is something wrong with my question.
I now use the MSP-EXP432P401R board to run the GrblHAL firmware and then the Tiva board to run the GRBL_MPG_DRO_BoosterPack firmware. I think that the iosender communicates with the first serial port of MSP-EXP432P401R, and the Tiva board communicates with the second serial port of MSP-EXP432P401R. Is this the case? If it is my iosender can not communicate with MSP-EXP432P401R.
from grbl_mpg_dro_boosterpack.
Ok, then you are using the boosterpack map and have no EEPROM connected? If so set these two symbols to to 0 as the controller will hang if no EEPROM is present.
from grbl_mpg_dro_boosterpack.
I'm using the MSP-EXP432P401R board, which doesn't have any external expansion boards connected.
Below is my setup:
#define MPG_ENABLE 1
#define KEYPAD_ENABLE 0
#define CNC_BOOSTERPACK 1
#define I2C_ENABLE 0
#define EEPROM_ENABLE 0
But the problem still exists. iosender cannot communicate with grblhal through the virtual serial port of XDS110.
from grbl_mpg_dro_boosterpack.
Even after changing the symbols?
from grbl_mpg_dro_boosterpack.
yes
from grbl_mpg_dro_boosterpack.
I checked the pins of the board with a multimeter and there is no problem
from grbl_mpg_dro_boosterpack.
Ok, if you have downloaded the code with CCS can you stop execution with the pause button? Where does it hang?
And have you removed the jumpers connecting RXD and TXD between the debugger part of the board and the MCU part? You should not.
from grbl_mpg_dro_boosterpack.
I feel like the program is running normally, and I'm debug it. I put a breakpoint in the serial port interrupt function and I open iosender.
void SERIAL_IRQHandler (void)
I feel that the serial port has no way to receive and send normally。
I'm going to compile an example now to verify that my board's serial port is OK.
from grbl_mpg_dro_boosterpack.
I am running this driver with a CNC Boosterpack in my physical test machine, it has a 2K EEPROM and is running flawlessy. I just hooked up a spare board without anything connected (and EEPROM support disabled in the board file) and this starts too, albeit in Alarm mode since no pins are connected.
Note that this driver does not have support for saving settings in flash, either connect an EEPROM or hard configure it by uncommenting and editing definitions in grbl/config.h. Settings can be changed at run time but will be lost on a hard reset.
from grbl_mpg_dro_boosterpack.
Thank you for your reply.
I now feel that grblHAL has no problem. Although my board still doesn't work. I'm not using CCS IDE, I'm using PlatformIO IDE, I found it might be the IDE's problem. I put a breakpoint on serialWriteS
and in debug mode it prints out the characters, if I exit debug mode there is a problem.
I have had this problem many times with platformio, not only with MSP432, but also with STM32. It is possible to run step by step in debug mode, but not to exit debug mode. I will report the problem to platformIO.
I can't use CCS IDE because my chip may be pirated, and I can't upload programs using CCS IDE. I will buy another chip and retest.
Thank you very much~
from grbl_mpg_dro_boosterpack.
I replaced a brand new msp432p401r chip and downloaded it using CCS IDE without any problem. Everything works fine now.
I think it should be a problem with pirated chips or a problem with platformIO.
Thank you very much for your help. Thank you also for contributing such a cool project.
from grbl_mpg_dro_boosterpack.
Related Issues (18)
- Congratulations!, great job! HOT 5
- identifier "KEYPAD_STREAM" is undefined HOT 1
- Can't run this project HOT 4
- Can this project be used to control the A axis of grbl. HOT 2
- "GRBL_MPG_DRO_BoosterPack" project compilation error HOT 2
- digression HOT 1
- How to use the keyboard in the "GRBL_MPG_DRO_BoosterPack" project HOT 18
- MPG cannot be used HOT 3
- Can the "GRBL_MPG_DRO_BoosterPack" project set the parameters of GrblHAL HOT 4
- About the issue of sending G-code with GRBL_MPG_DRO HOT 1
- 3 or 4 wheels HOT 12
- Pi Pico Board, LED resistor calculation? HOT 6
- Possible to buy an PIPico pcb? HOT 19
- LCD for grblHAL (Teensy) HOT 1
- PiPico Board screw hole HOT 7
- Can you share the pcb 3d model? HOT 2
- MPG Project Status? HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grbl_mpg_dro_boosterpack.