All times are UTC-06:00

Post new topic  Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Re: Spoke to soon
PostPosted: Mon Mar 10, 2008 8:47 am 
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Kernel module compiles and loads ok, but it appears it can't find any interfaces.

-- snip --
# cat /proc/pcan

*------------ PEAK-Systems CAN interfaces ( -------------
*-------------------------- Release_20080220_n ----------------------------
*---------------- [mod] [isa] [pci] [dng] [par] [usb] [pcc] -----------------
*--------------------- 0 interfaces @ major 253 found -----------------------
*n -type- ndev --base-- irq --btr- --read-- --write- --irqs-- -errors- status

-- end snip --

How can I be sure that the forth snippet did it job?
It won't have done the whole job; the CAN controller is not set up at all, plus like I said; the stock Peak controller driver doesn't have support for the MPC52xx CAN bus.

There is a patch for Peak 3.17 in the Lite5200B BSP (look on the MPC5200B Documentation and Tools page, it's a 440MB download). For ease of use, I put them on Power Developer; ... iver.patch ... 5200.patch

These will use the snippet to find the device. However you need to enable the controller and set the Alternatives bits, too! This is all in the manual, and is easy to do as a Forth script in addition to the snippet.

Matt Sealey

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 16 posts ] 

All times are UTC-06:00

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and wordmarks and the Power and logos and related marks are trademarks and service marks licensed by
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group