Search found 174 matches

by peterverkaik
14 May 2013 15:58
Forum: mikroProg™ programmer and debugger
Topic: How to preserve flash memory?
Replies: 3
Views: 2614

Re: How to preserve flash memory?

Hi,

How do I merge?
Can it be done in mikroprog suite?

regards peter
by peterverkaik
10 May 2013 11:02
Forum: mikroProg™ programmer and debugger
Topic: How to preserve flash memory?
Replies: 3
Views: 2614

How to preserve flash memory?

Hi, I am using a PIC32MX695F512H (512kB flash) and want to use the last two flashpages (= 8kbytes) as NVM memory so the MikroProg must not overwrite these pages when programming the pic32. How do I limit the codesize to 504kB? The Program FLASH Write Protect only offers First 4kB to First 512kB (in ...
by peterverkaik
11 Apr 2013 15:31
Forum: mikroBasic PRO for PIC32 General
Topic: PIC32MX695F512H with LAN8720A PHY on RMII standard
Replies: 1
Views: 2111

PIC32MX695F512H with LAN8720A PHY on RMII standard

Hi, I finallly received my own designed board that has a PIC32MX695F512H mcu. It uses the LAN8720A PHY chip connected to RMII standard pins. It has a 8MHz resonator and runs internally at 80MHz. The PBCLK divider is set to 2 (SYSCLK=80MHz, PBCLK=40MHz). Ethernet RMII/MII Enable in project settings i...
by peterverkaik
07 Mar 2013 16:11
Forum: Library Development Discussion
Topic: Datalink layer access
Replies: 9
Views: 7721

Re: Datalink layer access

Hi, Is it possible to get a callback function for a new received packet? sub function Net_Ethernet_28J60_UserRaw(dim socket as Net_Ethernet_28J60_RawSocket) as word If the function returns 0 than the packet is handled by the above function, if it returns 0xFFFF than the Ethernet library calls userUD...
by peterverkaik
06 Feb 2013 15:06
Forum: Library Development Discussion
Topic: Datalink layer access
Replies: 9
Views: 7721

Re: Datalink layer access

Hi, The correct way to allow development of more protocols is to have raw sockets. Is it possible to have raw sockets, so we can put in a custom protocol type? Or can I use a UDP socket and then overwrite the protocol type field? How can I receive raw socket data? I ask these questions with LLDP in ...
by peterverkaik
24 Jan 2013 17:55
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: mikrobasic 5.8.1 compiler errors
Replies: 1
Views: 1669

mikrobasic 5.8.1 compiler errors

Hi, I was trying to build a working program (working in v5.4.0) in v5.8.1 and get some strange linking errors: expected pointer to data [W10] but get pointer to data far This applied to both byte arrays and strings like dim command as byte[4] dim test as string[7] So why is the 'far' coming up? rega...
by peterverkaik
17 Jan 2013 12:27
Forum: Library Development Discussion
Topic: Datalink layer access
Replies: 9
Views: 7721

Re: Datalink layer access

Hi, Is there a way to retrieve packets received but not handled by the library? The function doPacket() returns a word value 0 - upon successful packet processing (zero packets received or received packet processed successfully). 1 - upon reception error or receive buffer corruption. ENC28J60 contro...
by peterverkaik
14 Jan 2013 16:07
Forum: mikroProg™ programmer and debugger
Topic: mikroProg for pic dspic pic24 pic32 won't program
Replies: 3
Views: 1801

Re: mikroProg for pic dspic pic24 pic32 won't program

Hi, There is no error message. The MCU Family type and mcu type are set correctly, voltage monitor shows 3.3V (board with dspic33FJ32GP302) It just fills the Progress bar very quickly, then the progress bar is clear again, showing Operation: None whereas it should say Programming (that is what happe...
by peterverkaik
14 Jan 2013 08:05
Forum: Library Development Discussion
Topic: Datalink layer access
Replies: 9
Views: 7721

Datalink layer access

Hi, I would like to see datalink layer access functions, much like UDP. For example, the UDP called library function sub function Net_Ethernet_28J60_UserUDP(dim udpDsc as ^UDP_28j60_Dsc) as word could have a simular MAC called library function sub function Net_Ethernet_28J60_UserMAC(dim macDsc as ^M...
by peterverkaik
12 Jan 2013 13:53
Forum: mikroProg™ programmer and debugger
Topic: mikroProg for pic dspic pic24 pic32 won't program
Replies: 3
Views: 1801

mikroProg for pic dspic pic24 pic32 won't program

Hi, Just received the MikroBasic Pro PIC32 compiler and the mikroProg for PIC programmer. I already had the dspicProg programmer to program dspic30 chips, and the LvPicFlash LV24-33 programmer to program dspic33 chips. When I program a board (dspic33FJ32GP302) with the LV24-32 then programming succe...
by peterverkaik
01 Dec 2012 08:49
Forum: mikroBasic PRO for PIC General
Topic: net_ethernet_28j60 TCP stops after 50 to 900 request
Replies: 12
Views: 4503

Re: net_ethernet_28j60 TCP stops after 50 to 900 request

Hi, New update. Since calling Net_Ethernet_28j60_stackInitTCP() did not work, I changed my code to the following sub function EW_UserTCP(dim byref remoteHost as byte[4], dim remotePort, localPort, reqLength as word) as word 'result = 0 more data to come, leave socket open 'result = 1 all data receiv...
by peterverkaik
28 Nov 2012 14:43
Forum: mikroBasic PRO for PIC General
Topic: net_ethernet_28j60 TCP stops after 50 to 900 request
Replies: 12
Views: 4503

Re: net_ethernet_28j60 TCP stops after 50 to 900 request

Hi,

Update on the issue.
Now it took 775 requests but then
the issue returned, so re-initializing the tcp/ip stack
does not resolve it.

regards peter
by peterverkaik
27 Nov 2012 12:24
Forum: mikroBasic PRO for PIC General
Topic: net_ethernet_28j60 TCP stops after 50 to 900 request
Replies: 12
Views: 4503

Re: net_ethernet_28j60 TCP stops after 50 to 900 request

Hi, As my code only uses 1 socket, I call Net_Ethernet_28j60_stackInitTCP after closing the socket. That seems to work ok as new TCP connections still come in. 'If all bytes written, and TCP Tx buffer empty, We can close connection. if (Net_Ethernet_28j60_bufferEmptyTCP(tcp_socket) and (EW_tcp_socke...
by peterverkaik
27 Nov 2012 11:56
Forum: mikroBasic PRO for PIC General
Topic: net_ethernet_28j60 TCP stops after 50 to 900 request
Replies: 12
Views: 4503

Re: net_ethernet_28j60 TCP stops after 50 to 900 request

Hi, I also experience this (ENC28J60). One TCP connection every 2 minutes, and after about 10 hours TCP connection fails, so after approx. 300 connections. Someone mentioned to call Net_Ethernet_28j60_stackInitTCP to reset the stack. Is there a way to know if there are pending TCP packets? If there ...
by peterverkaik
01 Oct 2012 17:29
Forum: mikroBasic PRO for PIC32 General
Topic: PIC32 internal ethernet RMII pins for ME Ethernet library
Replies: 4
Views: 3537

Re: PIC32 internal ethernet RMII pins for ME Ethernet librar

Hi,

Do I set these bits before the ethernet init procedure?

regards peter

Go to advanced search