Project

General

Profile

Activity

From 05/07/2016 to 06/05/2016

06/02/2016

AB 02:39 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
Hi Jonathan, thanks for looking into this. The L138 technical reference manual does show many of the SYSCFG registers being modifiable only in a privileged mode, including PINMUX registers. I tried reading and writing to PRU internal gen... Andrew Bean
JC 01:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
Found this post for the 335x which mentions that the pinmux registers are protected. Its likely this is also true for the L138.
https://groups.google.com/forum/#!topic/beagleboard/D8hU7LddIu0
Jonathan Cormier
JC 01:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
I can confirm that doesn't appear to work. Jonathan Cormier
AB 10:29 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
I was able to compile busybox (after making an empty syncfs() function in sync.c as a quick workaround), and here's what I get: Andrew Bean
HB 01:39 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: Questions about my product version
I got this:
>root@mityomapl138:~# dmesg | grep 'Part Number'
> ...
So I think I can be sure that I have MitySOM-1810F
Thanks Jonathan.
Hector Bojorquez
AB 01:22 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: Questions about my product version
Hector,
To determine the model of a specific module please refer to the label that is located on the bottom side of the module.
For example you would see the 1810-FG-225-RC which would mean that the module is an AM1810 processor. ...
Alexander Block
JC 01:14 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: Questions about my product version
During the linux boot, it should print out the model number of the module. Here is what my L138 prints out: Jonathan Cormier
HB 12:25 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: Questions about my product version
Hello everybody,
I requested for a MitySOM-1810F + PROFIBUS-development kit from Avnet, and I got kind of confused with the product I received
It is supposed that the MitySOM-1810F should look like this:
!MitySOM-1810F-web.jpg! ...
Hector Bojorquez
JC 08:51 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Note the old filesystem has an outdated url for opkg. Angstrom moved their feeds to here: http://feeds.angstrom-distribution.org/feeds/. You might be able to update the urls in /etc/opkg to point to the new location if you want to use o... Jonathan Cormier

06/01/2016

HB 05:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
I changed it to the older toolchain and it works! , I will try to do the MDK updating
From: https://support.criticallink.com/redmine/boards/10/topics/2559?r=4113#message-4113
> I needed to set up the environment for the v4.3.3 tool...
Hector Bojorquez
JC 05:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Correct link to forum post: https://support.criticallink.com/redmine/boards/10/topics/2559?r=4113#message-4113 Jonathan Cormier
JC 05:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Note: If you're starting a new project, I recommend updating your filesystem to the latest MDK and using the newer toolchain.
[[Updating_devkit_to_latest_MDK]]
Jonathan Cormier
JC 04:58 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> Thanks again,
> ...
Your using a newer toolchain than your filesystem. See this forum post: https://support.criticallink.com/redmine/projects/arm9-platforms/activity?from=2014-07-30
Jonathan Cormier
HB 04:39 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Thanks again,
I will check it with IT guys.
I got in the MityDSP from the VM with *_ssh root@192.168.0.151_* in terminal, so I tried to continue with the Starter Guide tutorial,
when I tried to run the HelloWorld executable I go...
Hector Bojorquez
JC 03:21 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
One difference with the busybox code is they seem to be taking pains to make sure their mmap is page aligned.
https://git.busybox.net/busybox/tree/miscutils/devmem.c#n80
Jonathan Cormier
JC 03:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
You can download the latest busybox and cross compile it. Should be something like below assuming you've set the toolchain in the path and the --host matches your toolchain. The busybox executable can be copied to the home directory an... Jonathan Cormier
AB 03:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
It looks like devmem is missing from the version of busybox (v1.19.4) included with the 2014-01-13 root file system image, which I'm currently using. Is it straightforward to update busybox? I looked through the source for the most recen... Andrew Bean
JC 10:21 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
Do you have the same problem using the devmem utilty? It also uses the /dev/mem interface. If it works perhaps you can use strace to see what its doing differently.
@strace devmem 0x01C14134 0x118112@
Jonathan Cormier
AB 10:18 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
I've played around with it a bit more, and it seems the issues does not have to do specifically with PINMUX registers. It seems that all writes through memory mapped /dev/mem are failing to actually take effect, i.e., the register is not... Andrew Bean
JC 09:26 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Pinmux changes back on its own
Strange, the only time the pinmux should get modified is during u-boot initialization and during kernel boot. Otherwise there isn't anything in linux that should be modifying the pinmux. Unless you need to dynamically change the pinmux... Jonathan Cormier

05/31/2016

JC 02:15 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> Hi again!,
FYI, if you want to link to attachments in redmine, the syntax is @attachment:Booting_up.jpg@ attachment:Booting_up.jpg
> ...
This is good
>
> ...
The command shows that no ip address has been a...
Jonathan Cormier
HB 01:04 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hi again!,
Thanks Jonathan, It looks that it has already booted up in Linux +{Attached 1 Booting_up.jpg}+
I have written the @ ifconfig -a@ command in U-Boot prompt and this was the output: +{Attached 2 ifconfig.jpg}+ *Is this th...
Hector Bojorquez

05/27/2016

AB 07:23 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Pinmux changes back on its own
I'm trying to set up PINMUX5 at address 0x01C14134 to have EPWM1A on the output. It seems to take on the desired value momentarily, but the value subsequently changes back after only a brief moment. The following is the code that I'm using: Andrew Bean

05/26/2016

JC 09:48 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Instructions to get going with the OMAP PWM
Andrew Bean wrote:
> I'm trying to get EPWM1A running with the MityDSP-L138 module and MityDSP-L138 (F) Family Development Kit.
> ...
I'm not sure if anyone here has used the pwm's on the L138. Looking at the l138 kernel to see if the...
Jonathan Cormier

05/25/2016

AB 11:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Instructions to get going with the OMAP PWM
I'm trying to get EPWM1A running with the MityDSP-L138 module and MityDSP-L138 (F) Family Development Kit.
1) Is there a set of instructions or any discussion on using the PWM specifically for the MityDSP-L138? All I need is a square wa...
Andrew Bean
JC 02:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
If this is the module that came with the devkit then it should boot into linux when powered on assuming you don't hit any keys during the boot loader stage.
If its just booting to the u-boot prompt it would be helpful to see the full ...
Jonathan Cormier
HB 02:06 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hi Jonathan,
I'm using now TeraTerminal, my serial port is working OK and I got in the U-Boot prompt, I checked the configuration of the Network Adapter of the Virtual Machine and is set up like a Bridge.
I tried to ping the VM I...
Hector Bojorquez

05/24/2016

AB 07:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU_gpioToggle example fails sometimes
So, I've been playing around with the example code more to try to get the interrupt wait() and clear() to work.
This is how it is supposed to work:
Andrew Bean
AB 02:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU_gpioToggle example fails sometimes
In @static int LOCAL_exampleInit ( unsigned short prunum )@ of PRU_gpioToggle.c we need to have Andrew Bean
AB 11:42 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU_gpioToggle example fails sometimes
So this is strange. I modified the gpioToggle code to have the following: Andrew Bean
JC 01:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote at https://support.criticallink.com/redmine/projects/arm9-platforms/activity?from=2016-05-24:
> Hi everyone, I'm starting with the PROFIBUS development kit and I was trying to follow the starter guide until I came...
Jonathan Cormier
JC 01:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Starter Guide: "Boot the MityDSP-L138 up into linux." - How?
Hector, I'm going to respond in your other forum post.
https://support.criticallink.com/redmine/boards/10/topics/4825
Jonathan Cormier
HB 12:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Starter Guide: "Boot the MityDSP-L138 up into linux." - How?
Hi everyone, I'm starting with the PROFIBUS development kit and I was trying to follow the starter guide until I came to the _*boot up in linux*_ step just like Jeff
I have Enabled the serial port from VBox and configured the port mod...
Hector Bojorquez
AA 06:36 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: USB on MitySOM-5CSx Development Kit
i used you git repo and compiled using poky toolchain
/usr/lib/git-core/git-ls-remote git://support.criticallink.com/home/git/linux-socfpga.git
a79928cfd59f4b53ee568b25d232a807ea164271 refs/heads/socfpga-3.11
619f7bd69dc688...
aggelis aggelis

05/23/2016

AB 11:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU_gpioToggle example fails sometimes
This seems to be the same as one of the issues that Jonathan Cormier observed in the topic that you linked. E.g., "gpioToggle test passed when i just ran it. Not sure why." whereas he had earlier posted that it failed.
As for trying t...
Andrew Bean
BD 10:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU_gpioToggle example fails sometimes
Andrew,
Another user was able to successfully run the demos on the MityDSP-L138, but perhaps they didn't test things as strenuously as you did.
<https://support.criticallink.com/redmine/boards/10/topics/4026>
Regarding point 2, ...
Bob Duke
AB 07:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: PRU_gpioToggle example fails sometimes
I'm having multiple issues with the PRU example PRU_gpioToggle. In short, it seems like some read/write operations to memory mapped locations are not always executing properly. The two problem spots are the following:
1) In the exampl...
Andrew Bean
DV 09:21 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: USB on MitySOM-5CSx Development Kit
Hello,
I see from your defconfig that you are using the 3.12 kernel, is this from our git repository or is this Altera's LTSI kernel?
We do have USB OTG working with the 5CSx, in our "3.16":http://support.criticallink.com/gitweb/?...
Daniel Vincelette

05/20/2016

HB 05:10 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hi Jonathan,
I imagine that you always work with more experienced users :D , but I'm just starting with this kind of systems, I will be waiting anxiously for the post.
Meanwhile I'll check all about the MDK updating and about my s...
Hector Bojorquez
JC 04:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector,
Sorry about all this. I am going to see if someone can add some detail to the Quick start guide about initial power on. Hopefully will work on it on Monday.
In the meantime we usually use putty or teraterm for accessing t...
Jonathan Cormier
HB 04:35 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Thanks for the quick response,
??Running debug in this case has probably tried to run the program on the VM. This HelloWorld file was compiled for the MityDSP so will only run on the MityDSP platform.??
I see, that has a lot ...
Hector Bojorquez
JC 02:39 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> Hi everyone!
> ...
Running debug in this case has probably tried to run the program on the VM. This HelloWorld file was compiled for the MityDSP so will only run on the MityDSP platform.
>
> ...
You must u...
Jonathan Cormier
HB 02:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Problems with the first time configuration
Hi everyone!
I have just acquired the PROFIBUS development kit from Critical Link, I was trying to put it on following the Starter guide steps in Critical Link support page,
I updated and installed the GCC, the MDK and the CDT, I con...
Hector Bojorquez
AA 07:53 AM MitySOM-5CSX Altera Cyclone V Software Development: USB on MitySOM-5CSx Development Kit
I bought a miniB to type A connector in order to connect to MitySOM-5CSx Development Kit USB port various slave devices eg webcam , usb drives etc.
When i connect a device to the usb port of Development kit i run dmesg on the terminal ...
aggelis aggelis

05/13/2016

AB 03:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU svn authentication failed
"Password for '(null)' GNOME keyring:" seemed suspect, so i searched on that.
I had to do the following, and then it worked:
@rm ~/.gnome2/keyrings/*@
Andrew Bean
AB 03:28 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU svn authentication failed
I pinged google just to make sure the internet connection is up. Here's what I get:
@
mitydsp@mitydsp-dev:~$ cd SVN
mitydsp@mitydsp-dev:~/SVN$ ping www.google.com
PING www.google.com (216.58.192.196) 56(84) bytes of data.
64 bytes...
Andrew Bean
JC 03:15 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU svn authentication failed
Bob Duke wrote:
> Andrew, I had no problems with this command:
> ...
I've updated the wiki page [[Using_PRU]], to reflect the need to use the username anonymous.
Jonathan Cormier
BD 03:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU svn authentication failed
Andrew, I had no problems with this command: Bob Duke
JC 03:09 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: PRU svn authentication failed
Found this TI wiki. It appears that you must use the username anonymous with a blank password.
http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader#Installing_the_Kernel_Driver
Jonathan Cormier
AB 03:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: PRU svn authentication failed
When running the following:
svn co https://gforge.ti.com/svn/pru_sw/trunk pru_sw
I get the message
"... Could not authenticate to server: rejected Basic challenge (https://gforge.ti.com)"
Previously, the following worked, but...
Andrew Bean

05/12/2016

DS 10:38 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Emulator stops working very often.
We generally try to do as little as possible in main(). It should launch an initialization task and you would work from there.
If you do not need to debug initialization, sometimes it may be beneficial to allow the code to run (not h...
Dave Stehlik

05/10/2016

EM 02:48 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
Various small errors contributed to the problem. things seem to work better now. I can send & Recv 3 messages and I discovered the debugMsg print queue as well.
Edwin McKay

05/09/2016

EM 12:32 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
I think these are the files you need. Basically, just the HelloWorld files. Let me know if you need anything else. Edwin McKay
MW 11:52 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
Would it be possible for you to post a copy of your example code, including the BIOS configuration files?
If you want you could send it directly via email offline...
-Mike
Michael Williamson
EM 11:48 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
I have something like this:
// Create the object used to send messages to the DSP
lpMessageOutbound = new tcIPCOutbound((char*)"DSPMSGQ0");
// Wait for the DSP to finish initialization (really just waiting for first message, wh...
Edwin McKay
EM 11:30 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
I know this is an old thread, but I am having similar issues. This is the first time I have head about the "ReturnBuffer()" call. I searched the Hello World could and could not find any reference to it. The header file is not really cl... Edwin McKay
 

Also available in: Atom