Search found 179 matches

by PIC007
14 Aug 2018 21:21
Forum: Visual TFT General
Topic: connectEVE loading resources from SD Card faild....
Replies: 15
Views: 16935

Re: connectEVE loading resources from SD Card faild....

mE team, I come back to a couple of posts from the chain above. 1. I can get the ConnectEVE resource file to work and correctly display when I share SPI2 between both the FT800 LCD and the SD card, and add the function FT800_SPI_SharedWithExtMem(); as well as swapping the respective CS lines (Mmc_Ch...
by PIC007
11 Apr 2018 21:17
Forum: Visual TFT General
Topic: VTFT - FT800 - Call signature does not match the function
Replies: 7
Views: 2927

VTFT - FT800 - Call signature does not match the function

Trying to run Resource_Collection_Demo code and getting errors. Have tried uninstalling FAT32 library and reinstalling, as well as trying earlier and later versions of package from LibStock. Clicking on any of the errors, or error lines doe not take me to source of problem (I assume because the line...
by PIC007
18 Jan 2017 01:16
Forum: Visual TFT General
Topic: connectEVE loading resources from SD Card faild....
Replies: 15
Views: 16935

Re: connectEVE loading resources from SD Card faild....

Hello, when shared SPI option is checked (FT800 + mmc) note that FAT32 library is going to be used. Every time when MMC is used CS will be toggled via Mmc_Read_Sector(f32_sector.fSectNum, f32_sector.fSect) routine as it can be seen in the VTFT_GetExtData function definition, in the Get Data box in ...
by PIC007
17 Jan 2017 19:26
Forum: mikroC PRO for PIC General
Topic: FAT 32 format SD
Replies: 3
Views: 2543

Re: FAT 32 format SD

Danilo, MCU is PIC24EP512GU810 - on mikromedia PIC24EP board. The code snippet I have posted is enough to prove the observation I have, that if I format the SD card using Windows utility as FAT32 the code always ends up at: // Could not initialize SD card LED = 0; If I instead include the command //...
by PIC007
13 Jan 2017 21:10
Forum: mikroC PRO for PIC General
Topic: FAT 32 format SD
Replies: 3
Views: 2543

FAT 32 format SD

I have been having difficulty with this code not acknowledging the SD card : // Init FAT32 stack if(!FAT32_Init()) { // SD card successfully initialized LED = 1; // Reinitialize SPI2 at higher speed - 20Mhz SPI2_Init_Advanced(_SPI_MASTER, // master_mode = _SPI_MASTER _SPI_8_BIT, // data_mode = _SPI_...
by PIC007
12 Jan 2017 18:20
Forum: Visual TFT General
Topic: Missing Resource file for demon for
Replies: 3
Views: 5985

Re: Missing Resource file for demon for

Thanks, but I'm still confused. Do I copy the Resource.RES file to SD card only, or am I meant to also place the bmp files (see below in code) on it? These .bmp files are not in the attached zip file you provided? switch (_image_counter) { case 0: { Image5.Picture_Name = logo_bmp; Image5.Left = 124;...
by PIC007
12 Jan 2017 18:11
Forum: mikroC PRO for PIC General
Topic: Using 2 SPI of PIC18F46K22 for ENC28J60 and MMC..plz help.
Replies: 4
Views: 2260

Re: Using 2 SPI of PIC18F46K22 for ENC28J60 and MMC..plz hel

How is that that the M25P80 device does not believe it is also being addressed in the above? Sorry, let me clarify my question... SD card and M25P80 8MB Flash chip share same SPI2 module on mikromedia board, yet I see no intentional selecting CS when using library commands in examples which call MC...
by PIC007
11 Jan 2017 22:44
Forum: Visual TFT General
Topic: Missing Resource file for demon for
Replies: 3
Views: 5985

Missing Resource file for demon for

I am trying to run the Resource_Collection_Demo_Code sample program using EasyPIC Fusion board's SPI connected to EVE_FT800 board. C:\Program Files (x86)\Mikroelektronika\Visual TFT\Projects\FT800\EasyPIC Fusion v7_FT800\dsPIC\Resource_Collection_Demo_Code\mikroC PRO for dsPIC The program relies on ...
by PIC007
11 Jan 2017 16:54
Forum: mikroC PRO for PIC General
Topic: Using 2 SPI of PIC18F46K22 for ENC28J60 and MMC..plz help.
Replies: 4
Views: 2260

Re: Using 2 SPI of PIC18F46K22 for ENC28J60 and MMC..plz hel

Can I please clarify... Mikromedia board has two SPI devices (SD card and M25P80 8MB Flash chip) connected to the same SPI2 module (MOSI2, SCK2, MISO2). Each device has a separate CS line. I do not see in sample code provided, that CS for one device is first disabled, and only the intended device is...
by PIC007
29 Jun 2015 19:20
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: USB HID Descriptor file - USB_SELF_POWER
Replies: 8
Views: 3936

Re: USB HID Descriptor file - USB_SELF_POWER

Petar - awaiting your response please ... to my question if you are sure of what you have suggested that some PC hardware is switchable and some not? I would think that if there is a USB descriptor option for USB_BUS_POWER or USB_SELF_POWER, then all PC hardware is switchable by default? I also see ...
by PIC007
29 Jun 2015 12:33
Forum: Library Development Discussion
Topic: Understanding USB CDC functions
Replies: 4
Views: 6133

Re: Understanding USB CDC functions

In this function there is a for loop which send characters bit by bit depending on the size of the buffer. Keshena, please look more carefully and you will note it is not sending bit-by-bit! It is preparing a buffer bit-by-bit, and then sending this buffer in a single call to USBDev_CDCSendData. An...
by PIC007
26 Jun 2015 21:33
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: USB HID Descriptor file - USB_SELF_POWER
Replies: 8
Views: 3936

Re: USB HID Descriptor file - USB_SELF_POWER

Hi Petar, All I can find is this reference to changing things in BIOS, which is not what we are looking for. Advanced — USB Configuration Front USB Ports Allows you to enable or disable the front USB ports on your computer Enabled or Disabled (Enabled by default) Rear USB Ports Allows you to enable ...
by PIC007
26 Jun 2015 16:28
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: USB HID Descriptor file - USB_SELF_POWER
Replies: 8
Views: 3936

Re: USB HID Descriptor file - USB_SELF_POWER

Hi Peter, does your PC motherboard support USB power switching Gosh, I did not think of this aspect - so not all PCs support this function even though it is in the USB standard that you can switch and adjust power to the USB? I am using a Dell, and not sure how to check the ports for this. Is there ...
by PIC007
26 Jun 2015 16:11
Forum: Library Development Discussion
Topic: Understanding USB CDC functions
Replies: 4
Views: 6133

Re: Understanding USB CDC functions

Dear Keshena, Thank you for your reply, and link to the nice site (based on the same example from mikroE). Can you perhaps enlarge on the response you have provided to my two questions. You state: 1. You must send data bit by bit, there you'll be guarantied to send all bits. OK, but the code below i...
by PIC007
25 Jun 2015 17:15
Forum: Library Development Discussion
Topic: Understanding USB CDC functions
Replies: 4
Views: 6133

Understanding USB CDC functions

Two questions please... 1. Is there meant to be a function in USB that checks if the USB is free before trying to send another packet? In the test code below, I get strange behavior on the VCP terminal - normally only see "USB CDC Demo-2" coming out when I press the 's' key. If I put a small delay b...

Go to advanced search