Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - andersm

16
General discussion / Re: ST Link and VirtualBox.
Device debuggers and programmers tend not to work so well under virtual machines. VMWare is supposedly better in this regard, but I don't have personal experience.

Any special reason you don't want to use a Windows-native toolchain?
17
General discussion / Re: USB 2 and large data transfers
Cypress makes USB controllers designed for high-performance streaming. I haven't used them myself so I can't comment on software support etc. but since it's a large part of their business it can't be too awful.

[quote author="arhi"]
[quote author="brian"]
I can't say for sure but I suspect throughput will be king. Exact timing isn't possible on USB anyway, but gross latency could matter.[/quote]
well, there's that isochronous driven transfer when you have some type of timing (if host can't achieve agreed timing the whole thing fails)[/quote]
I guess it depends on what you call exact timing, but even with isochronous transfers there is a fair amount of clock jitter, and eg. an audio device that doesn't handle it in some way will soon be playing random noise.

The maximum transfer rates for high-speed is
  • Control transfers 15872 KB/Sec
  • Interrupt transfers 24576 KB/Sec
  • Bulk transfers 53248 KB/Sec
  • Isochronous transfers 24576 KB/Sec
18
General discussion / Re: Weller WX soldering station review
I've got a previous generation WD1M, and I'm fairly sure it uses the magnet (though I haven't actually bothered testing), so I guess that's something they redesigned for the WX series. Based on your report the motion sensor seems less reliable, but on the other hand if you're in the habit of leaving hot irons lying around I guess it has its upsides as well.
19
General discussion / Re: Weller WX soldering station review
[quote author="presslab"]Where did you learn of this reed switch?[/quote]
It's listed in the specifications in many places, eg. here. You could try resting the pencil in a non-magnetic holder and see if the standoff timer ever kicks in (alternatively wave the pencil around).
21
Bus Pirate Support / Re: BusPirate crashed computer and now seems broken
[quote author="sebm"]by the way, when looking for info on the OSX crash with the bus pirate on the internet, I found that some people were saying that one should not unplug it when a "screen" session is active, does somebody knows if that is still the case and if it is only something to watch out only with "screen" and/or with OSX-only?[/quote]
That would suggest a bug in FTDI's drivers. An application can't cause a kernel crash.
23
General discussion / Re: The state of embedded ARM SW development
[quote author="Bertho"]I agree that things are made overcomplicated, however, I disagree that it is easy. The intricacies of cross-dependent versions and incompatibilities is a real pain. F.ex. some versions of gcc can be build statically, while others must be build dynamically. It sucks...[/quote]
Nah, it really is. That whole static/dynamic thing is a good example of making things needlessly complex. As long as GCC has had external library dependencies, it has had a mechanism to build them as part of its own build process. For the past few releases there's even a script included that downloads and sets up all the needed source packages. I posted a tutorial on how to do this some years ago on another forum. I'll brush it up for current tool versions and post it here.
24
General discussion / Re: The state of embedded ARM SW development
I think people are needlessly overcomplicating things. Building a cross-toolchain (binutils, GCC, newlib, GDB) is actually very easy. I've seen some scripts for automating it, but they seem to be written by someone going through the documentation and filling out every configuration option, needed or not. A linker script is something you write once, when changing part you only have to adjust the RAM and flash size.

The manufacturer's peripheral libraries are easy enough to add to your project, either as a whole or by adding individual source or header files. I'm not too fond of the idea of mixing the peripheral libraries with the C library like avr-libc. There are RTOSes with permissive licenses (eg. eCos) that use the HAL model, but so far I don't have experience in that area. Trying to write portable drivers will inevitably lead to difficult design decisions (eg. how do you handle ST's famously broken I2C peripheral?)
26
General discussion / Re: Seeedstudio and KiCad
I didn't have any problems with the one design I sent to Seeed. IIRC the only change from the default export settings was to disable vertical mirroring of drill hole coordinates (when you load the files into a viewer, the holes from the drill file should line up with the Gerber files).
27
Bus Pirate Support / Re: BP V4 not working on MAC
Open a terminal and type "ls /dev/tty.usbmodem*", the Bus Pirate's device should show up once you plug it in. If you have the USB Prober tool installed, look for the communication class device with the vid/pid 0x04D8/0xFB00 (in the current firmware the product string is still "CDC Test").
30
General discussion / Re: i2c Slave Address
There is a list of assigned addresses, but it hasn't been updated since 1999 so it's a fair bet NXP gave up on the idea. In version 3 of the I2C specification they added a new device identification mechanism that uses registered vendor IDs, but it is separate from addressing. Just stay away from the addresses reserved by the specification (see page 17 in version 4 of the spec) and you'll be fine. Patent fees are only a worry if you're designing a chip. If you're using a microcontroller with built-in I2C support, the manufacturer has already paid any relevant fees.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.02092427240session_write_close ( )...(null):0
20.02122558864ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.02122559640Database_MySQL->query( ).../DatabaseHandler.php:119
40.06342698400Database_MySQL->error( ).../Db-mysql.class.php:273