Search found 135 matches

by jay_dee
Thu Apr 06, 2023 9:54 am
Forum: General
Topic: Migration to Pi Pico & CAN
Replies: 9
Views: 1102

Re: Migration to Pi Pico & CAN

Hi, So...found this on the Pi website. https://www.raspberrypi.com/news/raspberry-pi-pico-windows-installer/ This seems to be the current Pi approach to getting PICO to work on windows machines. I ran this and had to do a manual install of Visual Studio Code via the link address they provided. Visua...
by jay_dee
Wed Apr 05, 2023 11:18 pm
Forum: General
Topic: Migration to Pi Pico & CAN
Replies: 9
Views: 1102

Re: Migration to Pi Pico & CAN

Hi Martin, Yeah that is the guide. When I went to my VS installer ( It was previously installed for other programming projects) the only option i was given required me to update before I could add the C++ features and thus its now on community version 2022. I've just tried the VS links provided in t...
by jay_dee
Wed Apr 05, 2023 8:53 pm
Forum: General
Topic: Migration to Pi Pico & CAN
Replies: 9
Views: 1102

Re: Migration to Pi Pico & CAN

from the "Developer Command Prompt for VS2022" I ran "nmake/?" and it responded correctly with the versio and options. So it must be installed.
From a windows command window the same command returns an error as command not found.
Does some sort of path need to be added?
by jay_dee
Wed Apr 05, 2023 8:45 pm
Forum: General
Topic: Migration to Pi Pico & CAN
Replies: 9
Views: 1102

Re: Migration to Pi Pico & CAN

HI, So found the PICO toolchain link in the WIKI and the PDF. Installed all of the listed programs and the settings as requested. There were a few differences in the install file to those shown but it looked to install each program correctly. FC10 installed and activated. Pico connected in bootload ...
by jay_dee
Sun Apr 02, 2023 2:22 pm
Forum: General
Topic: Migration to Pi Pico & CAN
Replies: 9
Views: 1102

Migration to Pi Pico & CAN

Hi, I've been using ECIO's, MIACs, PIC18F and dsPIC for almost all of my projects since starting with FC back in 2009. With global chip shortages and discontinued products these are currently not a suitable basis for new projects. I really like the ECIO style of stand alone brick and so I have chose...
by jay_dee
Tue Oct 25, 2022 10:37 am
Forum: General
Topic: SPI and I2C using same pins.
Replies: 1
Views: 460

Re: SPI and I2C using same pins.

I just had a quick try with the I2C being bitbanged and repurposed a pin that was an unused LED. With this as Clock the i2C seems to work fine. So maybe this is the easiest solution all round. By retaining i2C dat on the MISO pin...is this likely to casue issues? Would it better all round to just mo...
by jay_dee
Tue Oct 25, 2022 10:08 am
Forum: General
Topic: SPI and I2C using same pins.
Replies: 1
Views: 460

SPI and I2C using same pins.

Hi, Using a PIC18F2585. The project is getting quite bust forthe little PIC, UART, CAN, i2C and SPI (MOSI only). Where possible i tend to use hardware periferals as I assume this is more robust/efficient for the PIC than bitbanging. The i2C and SPI only share a common clock Pin. The SPI is to a disp...
by jay_dee
Sat Oct 22, 2022 5:56 pm
Forum: General
Topic: Defining or Returning Byte Arrays in User Macros
Replies: 1
Views: 509

Defining or Returning Byte Arrays in User Macros

Hi, I have i2C read and write macro's . However I dont always want just a single return byte, I might be reading back anything from 1 to 6 bytes. I see I can Return Strings, Longs, Integers. Can I return a Byte Array from a user Macro? For the write macro, whilst I can create a parameter Byte Array ...
by jay_dee
Thu Jul 21, 2022 11:08 am
Forum: General
Topic: gLCD 4D Picaso - Display Image.
Replies: 0
Views: 1440

gLCD 4D Picaso - Display Image.

Hi, I've been try to get an image displayed on a 4D picaso gLCD ( uLCD 32PTU ) I have used the 4D tools to create the .GCI and .Dat files. and load them onto the FAT formatted SD card. But I'm unsure of the FC commands. For the offsets I just refered to the text of the .Dat file. For simplicity the ...
by jay_dee
Wed Jul 13, 2022 3:13 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5230

Re: CAN Component - Buffer

Hi, I've played with lots of different combinations. The command from the RXcheck routine that make the difference is.. RXB0CONbits.RXFUL = 0; // Clear Buffer0 Full Flag What is really odd to me. If I place this or similar at the end of the Interrupt handler it makes no difference. If I place it as ...