victory460

Members
  • Content count

    22
  • Joined

  • Last visited

  1. Thank you very much! I select 4 and 12 pin,because in Board_Defs.h. I do not know whether this is correct or not, and I urgently need to solve these problems because I want to print the results of the OpenScope MZ measurement through the serial1 port.
  2. My goal is to add another one serial communication to OpenScope MZ then I tried to use a soft serial port in the OpenScope MZ firmware, but it compiled failed. Arduino:1.6.9 (Windows 10), "Digilent OpenScope" In file included from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/WProgram.h:20:0, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/Arduino.h:4, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:40, from sketch\main.cpp:17: C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/HardwareSerial.h:264:39: error: conflicting declaration 'HardwareSerial Serial' extern HardwareSerial Serial; ^ In file included from sketch\main.cpp:15:0: OpenScope.h:1486: error: 'Serial' has a previous declaration as 'OSSerial Serial' extern OSSerial Serial; ^ exit status 255 'Serial' has a previous declaration as 'OSSerial Serial' I know this question is repeated definition Serial, but I do not know how to modify it to add a serial port. This Firmware: https://github.com/victory460/OpenScope Please help me to add one serial communication to OpenScope MZ .Thank you very much. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- And I try another other ways to this requirement,such as: I'm trying to use Serial1 in the OpenScope MZ firmware By using the OSSerial module . I make the following changes in GlobalData.cpp and in OpenScope.h. GlobalData.cpp: Which dma parameters, I just fill 1, which is what should be filled DMA figures? OpenScope.h: Then I add Serial1.begin(SERIALBAUDRATE); in the main.cpp, but it compiled failed that ' Serial1' was not declared in this scope. Then I try to find where the original Serial declared,but I cannot find it.I want to know where the original Serial instance is declared ? How to solve this problem of ' Serial1' was not declared in this scope? Besides,what codes should add in Initialize.cpp follow this: This Firmware: https://github.com/victory460/OpenScopeOSSerial Please help me.I just want to add the serial1 transceiver for OpenScope MZ.
  3. Thank you very much for your answer, I followed your approach, and it succeeded. My goal is to add another one serial communication to OpenScope MZ then I tried to use a soft serial port in the OpenScope MZ firmware, but it compiled failed. Arduino:1.6.9 (Windows 10), "Digilent OpenScope" In file included from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/WProgram.h:20:0, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/Arduino.h:4, from C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:40, from sketch\main.cpp:17: C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\cores\pic32/HardwareSerial.h:264:39: error: conflicting declaration 'HardwareSerial Serial' extern HardwareSerial Serial; ^ In file included from sketch\main.cpp:15:0: OpenScope.h:1486: error: 'Serial' has a previous declaration as 'OSSerial Serial' extern OSSerial Serial; ^ exit status 255 'Serial' has a previous declaration as 'OSSerial Serial' I know this question is repeated definition Serial, but I do not know how to modify it to add a serial port. Please help me to add one serial communication to OpenScope MZ .Thank you very much. OpenScope MZ Firmware:https://github.com/victory460/OpenScope @tom21091
  4. I'm trying to use Serial1 in the OpenScope MZ firmware By using the OSSerial module . I make the following changes in GlobalData.cpp and in OpenScope.h. GlobalData.cpp: Which dma parameters, I just fill 1, which is what should be filled DMA figures? OpenScope.h: Then I add Serial1.begin(SERIALBAUDRATE); in the main.cpp, but it compiled failed that ' Serial1' was not declared in this scope. Then I try to find where the original Serial declared,but I cannot find it.I want to know where the original Serial instance is declared ? How to solve this problem of ' Serial1' was not declared in this scope? Besides,what codes should add in Initialize.cpp follow this: This Firmware https://github.com/victory460/OpenScopeOSSerial Please help me.I just want to increase the serial1 transceiver for OpenScope MZ.
  5. I tried to use ‘ Arduino15 \ packages \ Digilent \ hardware \ pic32 \ 1.0.3 \ libraries \ SoftwareSerial\examples\SoftwareSerialExample‘ Soft serial port to achieve a send and receive function, but it is wrong: Arduino:1.6.9 (Windows 10), "Digilent WiFIRE(Rev D)" C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int, uint32_t)': C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:700:20: error: 'volatile union __CNCONAbits_t' has no member named 'SIDL' CNCONAbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:703:20: error: 'volatile union __CNCONBbits_t' has no member named 'SIDL' CNCONBbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:706:20: error: 'volatile union __CNCONCbits_t' has no member named 'SIDL' CNCONCbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:709:20: error: 'volatile union __CNCONDbits_t' has no member named 'SIDL' CNCONDbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:712:20: error: 'volatile union __CNCONEbits_t' has no member named 'SIDL' CNCONEbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:715:20: error: 'volatile union __CNCONFbits_t' has no member named 'SIDL' CNCONFbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:718:20: error: 'volatile union __CNCONGbits_t' has no member named 'SIDL' CNCONGbits.SIDL = 0; ^ exit status 255 which is why?How to solve it?
  6. Hello! I cannot find Tutorials and Example Projects of Wi-FIRE Board. Where do I to go to find it?
  7. It does not matter, but still thank you very much for your reply. I tried to use ‘ Arduino15 \ packages \ Digilent \ hardware \ pic32 \ 1.0.3 \ libraries \ SoftwareSerial\examples\SoftwareSerialExample‘ Soft serial port to achieve such a function, but it is wrong: Arduino IDE errors: Arduino:1.6.9 (Windows 10), "Digilent WiFIRE(Rev D)" C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int, uint32_t)': C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:700:20: error: 'volatile union __CNCONAbits_t' has no member named 'SIDL' CNCONAbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:703:20: error: 'volatile union __CNCONBbits_t' has no member named 'SIDL' CNCONBbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:706:20: error: 'volatile union __CNCONCbits_t' has no member named 'SIDL' CNCONCbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:709:20: error: 'volatile union __CNCONDbits_t' has no member named 'SIDL' CNCONDbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:712:20: error: 'volatile union __CNCONEbits_t' has no member named 'SIDL' CNCONEbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:715:20: error: 'volatile union __CNCONFbits_t' has no member named 'SIDL' CNCONFbits.SIDL = 0; ^ C:\Users\victory\AppData\Local\Arduino15\packages\Digilent\hardware\pic32\1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:718:20: error: 'volatile union __CNCONGbits_t' has no member named 'SIDL' CNCONGbits.SIDL = 0; ^ exit status 255 which is why?How to solve it?
  8. Thanks a lot, I will try to use MPLABX to build this project by the way to learn it.Can you give me a project for MPLABX .zip that you used to develop OpenScope MZ as a reference?Thanks a lot. @Kristoff @JColvin
  9. Thank you very much.Are you using the Arduino IDE when developing? I found the editing tips for this Arduino IDE so weak and not smart enough. If you are using MPLAB-X development, can you give me a simple steps to import this project, as the above answer. thank you very much.
  10. Thanks a lot! I would like to establish a separate simple project to use the serial port (RF4, RF5) in the logic analyzer to realize the data receiving and sending functions. But without the help of Arduino API, I do not know how to implement such a function. Could you give me such a simple example? (By github link or others). Thanks a lot! @Kristoff
  11. Hello,I would like to use openscopeMZ as arduino board to do some small applications, but I do not know pinout table of OpenscopeMZ as arduinio.Can you give me a table like this or sampler than it : https://reference.digilentinc.com/reference/microprocessor/wi-fire/reference-manual or like this: or give me a way to find the answer of it. @everyone @sudharsan.sukumar @Kristoff Thanks a lot !
  12. Thank you very much, I am very confused about this and need to help urgently.
  13. Hello, Everyone.When I use the built-in Blink Arduino example for Openscope, it compiled error. Arduino:1.6.9 (Windows 10), "Digilent OpenScope" c:\users\victory\appdata\local\arduino15\packages\digilent\tools\xc32-tools\xc32-1.43\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/xc32-ld.exe: MPIDE Version not specified correctly c:\users\victory\appdata\local\arduino15\packages\digilent\tools\xc32-tools\xc32-1.43\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/xc32-ld.exe: Link terminated due to previous error(s). collect2.exe: error: ld returned 255 exit status exit status 255 The built-in Blink Arduino example codes: why,How to fix it?
  14. Hello,I downloaded openscope-mz-master.zip firmware from github ,then follow content of README.md ,but compiled failed.: Arduino:1.6.9 (Windows 10), development board:"Digilent OpenScope" C:\Users\victory\AppData\Local\Temp\build4e1e4857f8074ecba6789be3a91b1a66.tmp/core\core.a(main.cpp.o): In function `main': c:/users/victory/appdata/local/arduino15/packages/digilent/hardware/pic32/1.0.3/cores/pic32/main.cpp:58: undefined reference to `setup' c:/users/victory/appdata/local/arduino15/packages/digilent/hardware/pic32/1.0.3/cores/pic32/main.cpp:63: undefined reference to `loop' collect2.exe: error: ld returned 255 exit status exit status 255 why?how to solve it? then I try to unzipped openscope-mz-master.zip and copied it directly to “c:/users/victory/appdata/local/arduino15/packages/digilent/hardware/pic32/1.0.3/cores/pic32/”. then success compiled, why need to copy to that directory? And I find that there are no codes in OpenScope.ino file,how does it work? In addition, I found that because I unzipped openscope-mz-master.zip and copied it directly to “c:/users/victory/appdata/local/arduino15/packages/digilent/hardware/pic32/1.0.3/cores/pic32/”., this action seems to lead to mistakes, a detailed look why,how to solve these problem? @everyone, @Kristoff Thanks a lot.