Code Monkey home page Code Monkey logo

Comments (12)

terjeio avatar terjeio commented on June 14, 2024

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.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

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.

terjeio avatar terjeio commented on June 14, 2024

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.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

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.

terjeio avatar terjeio commented on June 14, 2024

Even after changing the symbols?

from grbl_mpg_dro_boosterpack.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

yes

from grbl_mpg_dro_boosterpack.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

I checked the pins of the board with a multimeter and there is no problem

from grbl_mpg_dro_boosterpack.

terjeio avatar terjeio commented on June 14, 2024

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.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

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.

terjeio avatar terjeio commented on June 14, 2024

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.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

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.

CHTUZKI avatar CHTUZKI commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.