Search found 33 matches

by hendrixj
Sat Feb 07, 2009 6:47 pm
Forum: NetBurner Software
Topic: Real time Java
Replies: 5
Views: 4959

Re: Real time Java

One man's prize is another man's poison. Of course the JVM adds overhead. For the record, C adds overhead. You use C because it is more convenient than programming in the assembler code. If you experiment some with Java you'll see some of the things it does well, and you'll see things it does not do...
by hendrixj
Fri Feb 06, 2009 1:58 pm
Forum: NetBurner's Eclipse IDE
Topic: Pre Processor directives
Replies: 3
Views: 4811

Re: Pre Processor directives

That's a matter of "perspective" in eclipse. There are Java perspectives, c/c++, html, xml,...

Netburner provides us with a customized perspective that works well with the Netburner boards. If you google around, byou might find a BASIC perspective. You're always free to write one...
by hendrixj
Fri Feb 06, 2009 1:55 pm
Forum: NetBurner Software
Topic: Real time Java
Replies: 5
Views: 4959

Re: Real time Java

Flexibility mainly. I've never understood why people marry specific programming languages. Java has first-rate constructs for threading and thread synchronization.
by hendrixj
Fri Feb 06, 2009 10:08 am
Forum: NetBurner Software
Topic: How to make watchdog timer running? shows random behaviour.
Replies: 6
Views: 7328

Re: How to make watchdog timer running? shows random behaviour.

I don't know much about your specific problem, but don't try to print from an ISR. It won't work. If your board has a pin tied to an LED, turn the LED on to indicate that you've reached it.
by hendrixj
Fri Feb 06, 2009 9:46 am
Forum: NetBurner Software
Topic: Real time Java
Replies: 5
Views: 4959

Real time Java

Has anyone heard of a port of real time Java to MicroC/OS-II?
For that matter, it would be interesting to see if there is a port for Java Embedded 6 to MicroC/OS-II?
Open Java opens up the "general purpose" Java source for other targets, but I don't think the real-time java is in that.
by hendrixj
Fri Jan 16, 2009 1:32 pm
Forum: NetBurner Software
Topic: MOD5213: Max frequency of GPIO switching speed?
Replies: 12
Views: 12152

Re: MOD5213: Max frequency of GPIO switching speed?

I'd be very interested in seeing what kind of response this would get you:


__asm__(
"lea sim+0x10000e,%a0\n\t" // put &sim.gpio.porta into A0
"Loop:"
"bchg #0,(%a0)\n\t" // Chage bit 0 of memory
"bras Loop\n\t"
);
by hendrixj
Mon Jan 12, 2009 1:12 pm
Forum: NetBurner Software
Topic: Problems with UDP Send unicast
Replies: 5
Views: 5674

Re: Problems with UDP Send unicast

by "stops sending" do you mean it generates an error, or quietly stops sending. my initial suspicion is that you are filling up the receive buffer (because you are sending so much faster).

can you include the code?

John
by hendrixj
Sat Jan 10, 2009 12:08 pm
Forum: NetBurner Software
Topic: MOD5213: Max frequency of GPIO switching speed?
Replies: 12
Views: 12152

Re: MOD5213: Max frequency of GPIO switching speed?

i doubt there is a single instruction to do that, but i'm not very knowledgable about 68000 machine code. Here is how to inline assembler code to do something like you want: __asm__( "$myloop:\n\t" "moveq #1,%d0\n\t" "moveb %d0,sim+0x10000e\n\t" "clrb %d0\n\t"...
by hendrixj
Sat Jan 10, 2009 9:28 am
Forum: NetBurner Software
Topic: MOD5213: Max frequency of GPIO switching speed?
Replies: 12
Views: 12152

Re: MOD5213: Max frequency of GPIO switching speed?

By the way, in netburner's supplied documentation, in the FreescaleManuals directory, CFPRM.pdf is the programmers reference manual. I explains the instructions.
by hendrixj
Sat Jan 10, 2009 9:18 am
Forum: NetBurner Software
Topic: MOD5213: Max frequency of GPIO switching speed?
Replies: 12
Views: 12152

Re: MOD5213: Max frequency of GPIO switching speed?

This: ffc0417e: 7004 moveq #4,%d0 ffc04180: 13c0 4010 000e moveb %d0,4010000e <sim+0x10000e> ffc04186: 4200 clrb %d0 ffc04188: 13c0 4010 000e moveb %d0,4010000e <sim+0x10000e> is indeed redundant with this: ffc0418e: 7004 moveq #4,%d0 ffc04190: 13c0 4010 000e moveb %d0,4010000e <sim+0x10000e> ffc041...