Search found 46 matches
- 23 Nov 2019 13:42
- Forum: PIC32 PRO Compilers
- Topic: LittlevGL Port
- Replies: 3
- Views: 6077
Re: LittlevGL Port
No sorry, i gave it up :/
- 08 Jul 2019 14:54
- Forum: mikroC PRO for PIC32 General
- Topic: Sending a TCP message using "ETHERNET" library
- Replies: 7
- Views: 2442
Re: Sending a TCP message using "ETHERNET" library
Also have a look at my post if you're using FreeRTOS.
viewtopic.php?f=220&t=74886
viewtopic.php?f=220&t=74886
- 08 Jul 2019 14:02
- Forum: mikroC PRO for PIC32 General
- Topic: New Project Bug
- Replies: 2
- Views: 1103
New Project Bug
And another bug... After creating a new project the user will be asked to save the main file. For this a save-Dialog appears and if you simply press ok everything is fine. But if you change the name to something different (eg. Main.c) the app crashes. WHY? I really love your hardware and i have a lo...
- 08 Jul 2019 13:13
- Forum: mikroProg™ programmer and debugger
- Topic: Error in mikroProg Suite
- Replies: 2
- Views: 1492
Re: Error in mikroProg Suite
I'am allready using the newest version 2.8.
I've now also tried to run it with admin priviledges but it results in the same error.
Just try it by yourself. Click the read button and then minimize the window.
I've now also tried to run it with admin priviledges but it results in the same error.
Just try it by yourself. Click the read button and then minimize the window.
- 07 Jul 2019 11:26
- Forum: PIC32 PRO Compilers
- Topic: Strange byte order after Flash_Write_Row
- Replies: 2
- Views: 2912
Re: Strange byte order after Flash_Write_Row
Ok, as so often, i've solved it by myself after a few hours of intense debugging :) The problem was this line: unsigned char flashData[_FLASH_WRITE_LATCH]; which has to be unsigned long flashData[_FLASH_WRITE_LATCH / 4]; So the datatype unsigned long is very important here. But now i have another pr...
- 05 Jul 2019 19:25
- Forum: PIC32 PRO Compilers
- Topic: Strange byte order after Flash_Write_Row
- Replies: 2
- Views: 2912
Strange byte order after Flash_Write_Row
Sorry for my next question while trying to write a PIC32 bootloader. I'am currently trying to do something very simple: unsigned long bootAddressOffset = 0x20000; memset( flashData, 0xFF, 2048 ); flashData[0] = 0x00; flashData[1] = 0x01; flashData[2] = 0x02; flashData[3] = 0x03; flashData[4] = 0x04;...
- 05 Jul 2019 09:52
- Forum: mikroProg™ programmer and debugger
- Topic: Error in mikroProg Suite
- Replies: 2
- Views: 1492
Error in mikroProg Suite
If you're reading flash code back from the MCU and doing something else in the meantime, the window gets minimized into the taskbar tray. If the flash-reading then completes you get an error message that it is not possible to focus an invisible window. After that all buttons are locked and i need to...
- 05 Jul 2019 09:43
- Forum: mikroProg™ programmer and debugger
- Topic: Better dual-panel support in mikroProg Suite for PIC32
- Replies: 1
- Views: 1206
Better dual-panel support in mikroProg Suite for PIC32
I'am currently playing around with the dual-panel functionality of PIC32MZ as this is one of the main reasons for using PIC32MZ. It is already possible to select the flash-panel in the boot-code viewer which shows "Lower Boot", "Boot Flash 1" and "Boot Flash 2". Why is there no "Upper Boot" selectab...
- 04 Jul 2019 07:24
- Forum: PIC32 PRO Compilers
- Topic: PIC32MZ Missing registers
- Replies: 0
- Views: 2193
PIC32MZ Missing registers
Why is the register "BF2SEQ0" missing in the definition files? PIC32MZ2048EFH144: sfr unsigned long volatile BF1SEQ0 absolute 0xBFC4FFFC; sfr unsigned long volatile ABF1SEQ0 absolute 0xBFC4FF7C; BF2SEQ0 ?? sfr unsigned long volatile ABF2SEQ0 absolute 0xBFC6FF7C; PIC32MZ2048ECH144: sfr unsigned long ...
- 02 Jul 2019 14:48
- Forum: PIC32 PRO Compilers
- Topic: Net_Ethernet_28j60_UserTCP not called
- Replies: 2
- Views: 2575
Re: Net_Ethernet_28j60_UserTCP not called
Ok, solved it by myself. The problem was the use of FreeRTOS where Net_Ethernet_28j60_startSendTCP( m_tcpSocket ); has been called from another thread than doPackets() without using a mutex. Now its working correctly. Here is the new code if someone needs it: if ( xSemaphoreTake( m_ethLock, 10 ) == ...
- 01 Jul 2019 10:07
- Forum: PIC32 PRO Compilers
- Topic: Net_Ethernet_28j60_UserTCP not called
- Replies: 2
- Views: 2575
Net_Ethernet_28j60_UserTCP not called
Hello I've created a TCP Server app using the "Network Ethernet Library" from Libstock. Connecting to it with a simple C# application works find and i'am receiving some data. My UserTCP method looks like this: void Net_Ethernet_28j60_UserTCP ( SOCKET_28j60_Dsc *socket ) { // We only listen on port 1...
- 26 Aug 2018 09:53
- Forum: PIC32 PRO Compilers
- Topic: LittlevGL Port
- Replies: 3
- Views: 6077
LittlevGL Port
Hi does anoyone have ported the LittlevGL library to PIC32 by using mikroC? (https://littlevgl.com/) Looks like a really cool library and i've tried to port it but this doesnt work because it looks like mikroC isn't fully supporting all the C-features. (Variables must be always declared at the begin...
- 29 Mar 2018 17:39
- Forum: mikroC PRO for PIC32 General
- Topic: PIC32MZ using both flash panels
- Replies: 2
- Views: 1465
Re: PIC32MZ using both flash panels
I mean if someone has already played around with this feature and can provide me some example codes especially for programming the two flash panels, switching them. A bootloader example would be nice too which is able to program both panels. I'am also interested in some theory explanations on how th...
- 26 Mar 2018 18:36
- Forum: mikroC PRO for PIC32 General
- Topic: PIC32MZ using both flash panels
- Replies: 2
- Views: 1465
PIC32MZ using both flash panels
Does anyone have already played around with the two flash panels with mikroC? Especially live updating and swapping to the other panel?
For me, this is one of the key features of PIC32MZ and i want to play around with this functions.
Thank you
For me, this is one of the key features of PIC32MZ and i want to play around with this functions.
Thank you
- 26 Aug 2017 11:41
- Forum: PIC32 PRO Compilers
- Topic: Bootloader PC application questions
- Replies: 3
- Views: 4587
Re: Bootloader PC application questions
Hi thank you for your reply but in the meantime i think i've found out how your bootloader is working. The hex file is indeed transferred to the PIC as it is but there are some things you need to know and i'll try to write that down for others. Inspecting the code on the PIC32 before and after trans...