Dear Marvin,
following your suggestions I could again Programm my PEak router. I guess it was a combinbation of some old libs which compiled fine but did not load. No all is fine
You can close my issue now.
Thank you! - always nice to get efficient help from Peak in an easy way.
Christoph
Search found 14 matches
- Mon 2. Mar 2020, 11:26
- Forum: PCAN-Router Pro
- Topic: Binary data file not supported from Hardware
- Replies: 2
- Views: 3651
- Thu 20. Feb 2020, 12:42
- Forum: PCAN-Router Pro
- Topic: Binary data file not supported from Hardware
- Replies: 2
- Views: 3651
Binary data file not supported from Hardware
Win 10 enterprise Version 1909
PeakDriver 4.2.0.16376
PCANFlash and PCAN-Router Pro connected on CAN1 via PCAN-USB pro
I want to program the router (I did this last year, now I have a new notebook)
Start PCAN-Flash
Connect
(find PCAN-USB pro)
select Channel 1
Detect module
(module no 15 ...
PeakDriver 4.2.0.16376
PCANFlash and PCAN-Router Pro connected on CAN1 via PCAN-USB pro
I want to program the router (I did this last year, now I have a new notebook)
Start PCAN-Flash
Connect
(find PCAN-USB pro)
select Channel 1
Detect module
(module no 15 ...
- Wed 12. Apr 2017, 08:20
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
Thanks again for the clear answer.
The attached 1_routing.zip has again the too small queue sizes (8 and 16 messages for TX and RX_Queue). Since I am using now 64 for both I am closer to the 56/100 message size for the PPCAN standard and therefore it should not be too large.
Once I wanted to ...
The attached 1_routing.zip has again the too small queue sizes (8 and 16 messages for TX and RX_Queue). Since I am using now 64 for both I am closer to the 56/100 message size for the PPCAN standard and therefore it should not be too large.
Once I wanted to ...
- Mon 10. Apr 2017, 17:05
- Forum: PCAN-Router Pro
- Topic: Sleep C-Code Beispiel gesucht
- Replies: 5
- Views: 7908
Re: Sleep C-Code Beispiel gesucht
Thanks for your answers.
I followed your advice and could create the needed sleep-function.
However, the need to wait was wrong - it is very probable a problem of buffer overrun which I wanted to fix.
Problem solved
Best regards
ckessle2
I followed your advice and could create the needed sleep-function.
However, the need to wait was wrong - it is very probable a problem of buffer overrun which I wanted to fix.
Problem solved
Best regards
ckessle2
- Mon 10. Apr 2017, 11:00
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
Thanks for the help delivered so far. Good news:
Update on buffer tests
At first a slow increase with some improvements. Then I increased all buffers to 64
#define CAN1_TX_QUEUE_SIZE 64
#define CAN1_RX_QUEUE_SIZE 64
#define CAN2_TX_QUEUE_SIZE 64
#define CAN2_RX_QUEUE_SIZE 64
#define CAN3_TX ...
Update on buffer tests
At first a slow increase with some improvements. Then I increased all buffers to 64
#define CAN1_TX_QUEUE_SIZE 64
#define CAN1_RX_QUEUE_SIZE 64
#define CAN2_TX_QUEUE_SIZE 64
#define CAN2_RX_QUEUE_SIZE 64
#define CAN3_TX ...
- Thu 6. Apr 2017, 17:41
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
thanks! Always a pleasure to find something new from PEAK.
I have changed can_user.c and no result. And removed the filter code from main.f
// init hardware
HW_Init();
//Filter setup see can_user.c
// init CAN
CAN_UserInit();
// Set green LEDs for CAN1 to CAN4
HW_SetLED ( HW_LED_CAN1 ...
I have changed can_user.c and no result. And removed the filter code from main.f
// init hardware
HW_Init();
//Filter setup see can_user.c
// init CAN
CAN_UserInit();
// Set green LEDs for CAN1 to CAN4
HW_SetLED ( HW_LED_CAN1 ...
- Wed 5. Apr 2017, 13:08
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
Thanks, again for the clarification.
I would like to test the filtering for getting a better performance.
The following compiles bit the code does not filter the CAN-Message ids.
What am I doing wrong?
Is there a special sequence of other commands needed to activate filtering?
int main ...
I would like to test the filtering for getting a better performance.
The following compiles bit the code does not filter the CAN-Message ids.
What am I doing wrong?
Is there a special sequence of other commands needed to activate filtering?
int main ...
- Tue 4. Apr 2017, 15:10
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
CAN-Flashing is working again - seems to be that init needs to be called after the filter
All three filter commands do not seem to work. Maybe my idea of filter is wrong?
Filter on: I guess it will not let commands thru in channel 2. I hope they would also not fill the buffer.
But somehow - no ...
All three filter commands do not seem to work. Maybe my idea of filter is wrong?
Filter on: I guess it will not let commands thru in channel 2. I hope they would also not fill the buffer.
But somehow - no ...
- Tue 4. Apr 2017, 13:22
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
Sorry, new questions:
I try to filter to avoid the overrun:
//Filter setup
u32_t IdStart, IdEnd;
CANStatus_t FilterStat;
FilterStat = CAN_InitFilters ();
IdStart = 0x400;
IdEnd = 0x43e;
FilterStat = CAN_FilterAddId ( CAN_BUS2, FILTER_11BIT_ID, IdStart,IdEnd);
FilterStat= CAN_SetFilterMode ...
I try to filter to avoid the overrun:
//Filter setup
u32_t IdStart, IdEnd;
CANStatus_t FilterStat;
FilterStat = CAN_InitFilters ();
IdStart = 0x400;
IdEnd = 0x43e;
FilterStat = CAN_FilterAddId ( CAN_BUS2, FILTER_11BIT_ID, IdStart,IdEnd);
FilterStat= CAN_SetFilterMode ...
- Tue 4. Apr 2017, 08:42
- Forum: PCAN-Router Pro
- Topic: Speed while sending out CAN-signals
- Replies: 12
- Views: 15560
Re: Speed while sending out CAN-signals
English again:
Thanks for the clear message!
More questions:
the 56 and 100 message queue - is it per device or per CAN-channel?
Where do I find the h-File for the SpecialIn addresses of the internal variables?
In CAN.h I see a filter mechanism - would that help to reduce the load for the ...
Thanks for the clear message!
More questions:
the 56 and 100 message queue - is it per device or per CAN-channel?
Where do I find the h-File for the SpecialIn addresses of the internal variables?
In CAN.h I see a filter mechanism - would that help to reduce the load for the ...