I should add that the aforementioned jpeg-compressor project includes in the source distribution an example program that can read in a BMP and output a JPEG.
--Mike
Search found 9 matches
- Thu Apr 11, 2013 6:29 am
- Forum: NetBurner Software
- Topic: Source code to convert bmp to jpeg
- Replies: 6
- Views: 16710
- Thu Apr 11, 2013 6:22 am
- Forum: NetBurner Software
- Topic: Source code to convert bmp to jpeg
- Replies: 6
- Views: 16710
Re: Source code to convert bmp to jpeg
There is a lot of stuff out there for JPEG and BMP formats in C and C++. After all, the reference libraries for these formats were originally created in C. There is a significant amount of C and C++ code out there for practically any widely-accepted file format. If you haven't found much, then you h...
- Fri Apr 27, 2012 10:31 am
- Forum: NetBurner Software
- Topic: Help with non-maskable interrupt
- Replies: 6
- Views: 5700
Re: Help with non-maskable interrupt
I agree with rnixon about using a DMA timer if you want to measure pulse width. The input capture mode of the DMA timer works very well for this purpose, as the timer count is captured by the hardware when a rising or falling edge is detected. If you want to measure both the high and low duration, y...
- Tue Apr 24, 2012 6:14 am
- Forum: NetBurner Software
- Topic: Surprise effect in turning dma timer interrupts off and on
- Replies: 6
- Views: 4552
Re: Surprise effect in turning dma timer interrupts off and
Scott, There is no implementation of sim.timer[] to delve into. It is a simple struct as you see, but it does not exist in program RAM. The struct is based at address 0x4000_0000 by the linker as directed by the sys.ld file. When you "twiddle" the bits in any sim member, you are directly a...
- Tue Jan 10, 2012 7:37 am
- Forum: NetBurner Software
- Topic: Rebuild system isn't working
- Replies: 3
- Views: 3831
Re: Rebuild system isn't working
Hi Dave, It looks like Windows is picking the wrong make utility. The copyright on your command line make utility (Copyright (c) 1987, 1999 Inprise Corp.) tells me you have your path set such that the Borland/Inprise command line tools are ahead of the GNU tools. Both toolsets have a make.exe. Edit ...
- Fri Oct 07, 2011 5:03 am
- Forum: NetBurner Software
- Topic: Problem with QSPI.... communication speed?
- Replies: 9
- Views: 8731
Re: Problem with QSPI.... communication speed?
If you can't get the QSPI peripheral to run as slow as you'd like, you could always just switch the QSPI pins over to GPIO and bit-bang the SPI protocol.
--Mike
--Mike
- Mon Sep 12, 2011 6:05 pm
- Forum: NetBurner's Eclipse IDE
- Topic: Breakpoints in UserMain
- Replies: 16
- Views: 15342
Re: Breakpoints in UserMain
Try adding a short delay after the call to wait for gdb. I use OSTimeDly(1).
--Mike
--Mike
- Tue Sep 06, 2011 10:04 am
- Forum: NetBurner Software
- Topic: Reading state of DMA Timer 0 input pin
- Replies: 3
- Views: 4002
Re: Reading state of DMA Timer 0 input pin
I remember running into the same problem when using the DMA timer to read the pulse widths from a temperature sensor. The solution is simple. If you set up the DMA timer to interrupt on either rising or falling edge only, you will know the state of the line at the time of the capture interrupt. It i...
- Tue Apr 13, 2010 6:04 am
- Forum: NetBurner Software
- Topic: Breakpoints not working
- Replies: 10
- Views: 7869
Re: Breakpoints not working
Dave, try putting a delay after the call to InitializeNetworkGDB_and_Wait(), like this: InitializeNetworkGDB_and_Wait(); OSTimeDly (TICKS_PER_SECOND * 2); I ran into this problem not long after I started using the Netburner a few months ago. I haven't investigated it any further, as the simple delay...