programming Cyton without RFduino dongle? / our completed SSVEP demo
Haseeb
Lahore
I have used the openbci cyton design to make the cyton board. I am planning to use the wifi shield instead of bluetooth dongle. My cyton board doesn't have BTLE module. I have these questions:
1- Since I need pic32mx250f128b microcontroller with chipkit UDB32-MX2-DIP bootloader. Can bootloader hex file be uploaded to microcontroller using FTDI chip or the only way is pickit 3? If yes then what will be the pin connections?
2- According to openbci documentation, bluetooth dongle is needed to upload the firmware. Can wired connections be used to upload the firmware? Like connecting the serial pins through FTDI chip.
3- Or is it possible to upload the bootloader hex file as well as the firmware using pickit 3?
Thanks
Comments
I read the discussion. I know that break out pins are available for bootloading of chipkit but it couldn't answer my questions.
Is it the bootloader that allows to communicate with the chipkit serially?
I'll go for the FTDI device option.
What will be the connections? I mean where to connect the Rx and Tx pins of FTDI device on cyton board?
Do I need the serial connections after uploading the firmware as you mentioned the way OpenBCI_GUI interacts with cyton? What I was thinking is to upload the firmware using wired connections then make cyton board communicate with OpenBCI_GUI via Wi-Fi shield (while serial connection is removed).
$$$"
Keep it up.
I was able to make this project with the help of my team using cyton board and wifi shield:
Thanks to OpenBCI.
Regards
Haseeb
Haseeb, congratulations. Your video is also impressive. Consider posting a description of your project overview, and the video link on the Community site,
https://docs.openbci.com/docs/01GettingStarted/03-Community/Community
Best regards, William
@Haseeb Really cool! I agree with William that this is definitely Community post worthy! Great work!
Thanks @wjcroft and @retiutut. I have created a post in community forum regarding this demo.
Haseeb, thanks much. Your post is now live,
https://openbci.com/community/
Dear Haseb
i want to build openbci v3-32bit
but idont want to use RFD22 module because of discount,now i want to use just wifi shild board,
would you please guide me,
i program "DefaultWifiShield.2.0.5.bin" to esp-12e module with a usb2serial adaptor and esptools,
now i want to program pic32, which program i program ? "BoardWithWifi" or "defaultBoard"?
another things:you say
Used a FTDI adapter (baud rate: 115,200 b/s) to program the WiFi Shield "BoardWithWifi" firmware onto the ESP8266 with Terminal via esptool. why we program "BoardWithWifi" to ESP8266 ??
@haseeb and @wjcroft , sorry for necro'ing, any more info on uploading the firmware using ftdi (pinouts or libraries) ? i've flashed the bootloader with pickit, but it seems just connecting the ftdi to Rx Tx lead me to errors, the arduino ide seems not able to found any target, any thoughts?
Please double check that you're following the Bluetooth based firmware uploading guide with only difference of direct rx/tx pin connections of ftdi with pic controller's tx/rx pins and the ground pin obviously.
Alright i did:
1. Updated arduino ide (1.8.13), updated FTDI Driver
2. Flashed UDB32_MX2_DIP.hex using Chipkit (Blue Led Keeps Blinking after that) through MPLab IPE 4.15
3. Installed the 32Bit_Library, 32Bit_SD, Wifi_Master, and Chipkit Core Firmware
4. Open the DefaultBoard.ino, make sure the port is correct and board is OpenBCI 32
5. Connect the PIC Rx/Tx that was connected to RFDuino to the FTDI front RX/TX, and connect both ground pins
6. The Led is Blinking (indicating bootload mode active) and i try to compile & upload using Arduino IDE
Still got the error "no target found" and "An error occurred while uploading the sketch"
Oh and what are the indication that the firmware is working properly?