WEBVTT

00:00:00.000 --> 00:00:01.620
<v Chris Gammell>This is The Amp Hour Podcast.

00:00:03.060 --> 00:00:05.740
<v Chris Gammell>Released April 19th, 2020.

00:00:07.820 --> 00:00:10.940
<v Chris Gammell>Episode 489, sponsored by Screaming Circuits.

00:00:11.980 --> 00:00:13.900
<v Chris Gammell>A second interview with Jack Gansel.

00:00:30.000 --> 00:00:33.320
<v Chris Gammell>Welcome to The Amp Hour. I'm Chris Gammell of Contextual Electronics.

00:00:33.700 --> 00:00:36.100
<v Chris Gammell>And I'm Jack Gansel of Jack Gansel, basically.

00:00:37.560 --> 00:00:40.140
<v Chris Gammell>Self-evident and self-aware. Here we are.

00:00:40.580 --> 00:00:47.040
<v Chris Gammell>And back again after eight and a half years, I think it's been, 2011 was the last time you were on the show.

00:00:47.600 --> 00:00:50.720
<v Chris Gammell>Boy, I tell you, time flies. It just feels like it was yesterday.

00:00:50.720 --> 00:00:57.480
<v Chris Gammell>It does. But I went and looked it up. It's been 435 episodes of The Amp Hour and 185 editions of the Embedded Muse.

00:00:57.480 --> 00:01:00.600
<v Chris Gammell>So there's been some stuff in between.

00:01:02.480 --> 00:01:06.460
<v Jack Ganssle>Yeah, you know, if you keep doing things repeatedly, it adds up pretty quickly.

00:01:06.780 --> 00:01:07.440
<v Jack Ganssle>That's right.

00:01:07.840 --> 00:01:14.400
<v Jack Ganssle>That's one of the things I always advise entrepreneurs, people who are interested in getting into running businesses,

00:01:14.680 --> 00:01:17.560
<v Jack Ganssle>is if you're going to do something, just keep doing it.

00:01:17.980 --> 00:01:21.580
<v Jack Ganssle>And a lot of people, they'll start a blog and it tapers out.

00:01:22.120 --> 00:01:26.880
<v Jack Ganssle>But the successful people are the ones who are able to focus and keep on doing what has to be done.

00:01:27.480 --> 00:01:28.260
<v Chris Gammell>Yeah, yeah.

00:01:28.680 --> 00:01:34.740
<v Chris Gammell>If you're writing just for the people that will give you praise for it, you're going to have a short career, I think.

00:01:35.140 --> 00:01:36.140
<v Chris Gammell>Yeah, that's for sure.

00:01:37.120 --> 00:01:39.060
<v Chris Gammell>Probably should turn around and walk the other direction, probably.

00:01:39.680 --> 00:01:41.280
<v Chris Gammell>But you've been writing for a long time.

00:01:41.420 --> 00:01:45.800
<v Chris Gammell>And obviously, we talked about this on, so it was episode 54 of The Amp Hour.

00:01:46.140 --> 00:01:49.140
<v Chris Gammell>We talked about some of your writings, but you have continued to write and publish.

00:01:49.700 --> 00:01:50.880
<v Chris Gammell>And I love your newsletter.

00:01:51.240 --> 00:01:52.000
<v Chris Gammell>That's kept going.

00:01:52.160 --> 00:01:52.840
<v Chris Gammell>That's the Embedded Muse.

00:01:52.840 --> 00:01:55.020
<v Chris Gammell>So what have you been writing about?

00:01:55.040 --> 00:01:55.800
<v Chris Gammell>What have you been up to, Jack?

00:01:56.500 --> 00:02:03.220
<v Jack Ganssle>Well, you know, I started writing a monthly column in 1989 for Embedded Systems Programming Magazine.

00:02:03.940 --> 00:02:07.340
<v Jack Ganssle>And then that turned into a weekly column for their online thing.

00:02:07.520 --> 00:02:10.980
<v Jack Ganssle>And I started doing the Embedded Muse in, I think it was 1997.

00:02:11.920 --> 00:02:13.400
<v Jack Ganssle>And that comes out twice a month.

00:02:13.400 --> 00:02:22.040
<v Jack Ganssle>It's sort of a vehicle where I can write about anything I'm interested in when it comes to electronics and embedded software.

00:02:23.020 --> 00:02:27.660
<v Jack Ganssle>And this is such a huge field that there's really no end of subjects.

00:02:28.280 --> 00:02:33.080
<v Jack Ganssle>My wife always kind of laughs at me because we'll be doing something totally random.

00:02:33.340 --> 00:02:35.260
<v Jack Ganssle>And it'll remind me of something.

00:02:35.360 --> 00:02:39.060
<v Jack Ganssle>And I make a little note in my notebook saying, oh, I could get a nice article about this.

00:02:39.060 --> 00:02:40.040
<v Jack Ganssle>Yeah, yeah.

00:02:41.460 --> 00:02:48.080
<v Jack Ganssle>But so far, I guess I've published over a thousand articles on various magazines and websites.

00:02:48.620 --> 00:02:54.480
<v Jack Ganssle>And we're up to almost, I guess it's our issue number 395, I think, of the Embedded Muse.

00:02:54.600 --> 00:02:58.540
<v Jack Ganssle>So it's quite a bit of verbal diarrhea.

00:02:59.260 --> 00:03:00.100
<v Chris Gammell>Yeah, that's great.

00:03:00.160 --> 00:03:08.660
<v Chris Gammell>And I really always like the fact that you have longtime readers, too, who are writing in that you've, you can see like familiar names, even though you don't use full names.

00:03:08.660 --> 00:03:17.320
<v Chris Gammell>You know, kind of familiar styles of people that are responding and giving you feedback and like talking back to you about these issues that you kind of bring up in the newsletter.

00:03:18.400 --> 00:03:19.180
<v Jack Ganssle>It's true.

00:03:19.340 --> 00:03:20.960
<v Jack Ganssle>I get a tremendous amount of feedback.

00:03:21.220 --> 00:03:22.460
<v Jack Ganssle>Most of it doesn't get published.

00:03:23.020 --> 00:03:29.480
<v Jack Ganssle>I only publish the responses from people I find particularly interesting or thought provoking.

00:03:30.300 --> 00:03:30.420
<v Jack Ganssle>Right.

00:03:30.420 --> 00:03:35.540
<v Jack Ganssle>But that's one of the things I enjoy most about the Embedded Muse is that there is so much feedback.

00:03:35.900 --> 00:03:42.180
<v Jack Ganssle>And I really enjoy the dialogue with engineers because, I mean, let's face it, most engineers are pretty smart people.

00:03:42.580 --> 00:03:44.960
<v Jack Ganssle>And they have a lot of really interesting things to say.

00:03:45.220 --> 00:03:48.600
<v Jack Ganssle>And they make me think, which is what I really enjoy.

00:03:49.400 --> 00:03:50.620
<v Jack Ganssle>And the rest of them host the Amp Hour.

00:03:51.100 --> 00:03:52.020
<v Jack Ganssle>Yeah, there you go.

00:03:52.020 --> 00:03:59.420
<v Chris Gammell>Well, so we actually got back in contact because you had done an ongoing, I think.

00:03:59.540 --> 00:04:01.480
<v Chris Gammell>Is the survey done yet or no?

00:04:01.660 --> 00:04:02.300
<v Chris Gammell>Is it still going?

00:04:02.840 --> 00:04:05.940
<v Jack Ganssle>The survey will continue through the end of this month.

00:04:06.480 --> 00:04:06.660
<v Jack Ganssle>Okay.

00:04:06.780 --> 00:04:07.900
<v Chris Gammell>So it's a salary survey, right?

00:04:08.580 --> 00:04:08.860
<v Jack Ganssle>Yeah.

00:04:08.920 --> 00:04:12.400
<v Jack Ganssle>About every two years, I run a salary survey for embedded people.

00:04:12.400 --> 00:04:23.040
<v Jack Ganssle>And this year, well, I always keep it very short, a few questions, because, man, some of these surveys put out by VDC and all those you're talking about.

00:04:23.060 --> 00:04:24.340
<v Chris Gammell>Oh, well, and the Amp Hour, unfortunately.

00:04:24.440 --> 00:04:25.420
<v Chris Gammell>Yeah, we ask a lot of questions.

00:04:25.860 --> 00:04:26.120
<v Chris Gammell>Do you?

00:04:26.560 --> 00:04:27.060
<v Chris Gammell>Oh, yeah.

00:04:27.380 --> 00:04:27.740
<v Chris Gammell>Yeah.

00:04:27.800 --> 00:04:28.800
<v Chris Gammell>Sometimes people write a lot.

00:04:28.880 --> 00:04:32.660
<v Chris Gammell>Some people are like, just give me the, you know, usually there's like a prize at the end.

00:04:34.940 --> 00:04:39.000
<v Jack Ganssle>Well, this year, I've also asked about what people are doing in terms of the coronavirus.

00:04:39.320 --> 00:04:40.240
<v Jack Ganssle>Are they working at home?

00:04:40.340 --> 00:04:41.440
<v Jack Ganssle>Have they lost their jobs?

00:04:42.080 --> 00:04:42.260
<v Jack Ganssle>Right.

00:04:42.260 --> 00:04:46.760
<v Jack Ganssle>And the data is very incomplete, and I've only kind of surfed through a little bit of it.

00:04:47.260 --> 00:04:52.320
<v Jack Ganssle>But it appears to me that most people are just working from home, and very few people have lost their jobs.

00:04:53.400 --> 00:04:54.120
<v Chris Gammell>Yeah, it's an interesting point.

00:04:54.180 --> 00:04:55.100
<v Chris Gammell>I mean, with embedded, too.

00:04:55.240 --> 00:05:01.800
<v Chris Gammell>Like, I mean, sometimes you need huge test setups, but sometimes if you're, you know, you've got your debugger, you've got a board that's known working.

00:05:02.540 --> 00:05:05.360
<v Chris Gammell>Yeah, you're going home, and you're writing code, and you're messing with it.

00:05:05.480 --> 00:05:08.260
<v Chris Gammell>You know, maybe if it's interfacing to a larger system, you have a problem.

00:05:08.260 --> 00:05:15.160
<v Chris Gammell>But if you have, like, a process simulator or something where you've already built the test setup around it, you might be okay.

00:05:16.320 --> 00:05:16.480
<v Jack Ganssle>Yeah.

00:05:16.560 --> 00:05:24.140
<v Jack Ganssle>You know, this is really a golden age, I think, for electronics development in that a lot of the systems are very small.

00:05:24.140 --> 00:05:27.460
<v Jack Ganssle>Well, things don't cost a whole lot typically today.

00:05:27.580 --> 00:05:34.180
<v Jack Ganssle>I mean, God knows, you know, you might be building weapon systems for an F-35, and you're probably not going to bring an F-35.

00:05:34.180 --> 00:05:38.240
<v Jack Ganssle>But a lot of systems aren't like that.

00:05:38.380 --> 00:05:48.120
<v Jack Ganssle>And we also have access to test equipment today, which is small, relatively inexpensive, and insanely powerful.

00:05:48.840 --> 00:05:48.900
<v Chris Gammell>Yeah.

00:05:48.900 --> 00:05:55.060
<v Jack Ganssle>You know, the oscilloscope's just incredible what you can buy for a relatively small amount of money today.

00:05:55.760 --> 00:06:03.820
<v Jack Ganssle>And like you say, debuggers and all the like, it doesn't take much of an investment to have a halfway decent engineering lab in your home.

00:06:03.820 --> 00:06:04.220
<v Jack Ganssle>Yeah.

00:06:04.960 --> 00:06:05.360
<v Chris Gammell>Yeah.

00:06:05.440 --> 00:06:08.580
<v Chris Gammell>I've seen some photos of people kind of doing home setups.

00:06:08.740 --> 00:06:10.160
<v Chris Gammell>I've been taking a couple myself.

00:06:10.620 --> 00:06:14.660
<v Chris Gammell>And like, you know, like you're saying, it doesn't, you know, it's a scope on the desk.

00:06:14.760 --> 00:06:19.080
<v Chris Gammell>Maybe it's a logic analyzer if you got it, you know, and you're good to go.

00:06:20.480 --> 00:06:21.180
<v Jack Ganssle>It's true.

00:06:21.420 --> 00:06:26.580
<v Jack Ganssle>And today you can get a 100 megahertz dual channel scope for $300, $400.

00:06:27.100 --> 00:06:27.780
<v Jack Ganssle>Digital scope.

00:06:28.120 --> 00:06:31.280
<v Jack Ganssle>Digital scope is so much different from the old-fashioned analog ones.

00:06:31.280 --> 00:06:32.480
<v Jack Ganssle>They do so much more.

00:06:33.400 --> 00:06:33.440
<v Jack Ganssle>Right.

00:06:33.820 --> 00:06:36.560
<v Chris Gammell>But it doesn't build your muscles as well.

00:06:36.980 --> 00:06:37.340
<v Chris Gammell>Exactly.

00:06:38.080 --> 00:06:40.880
<v Chris Gammell>You can't bench press a digital scope and get much of a workout out of it.

00:06:41.960 --> 00:06:46.520
<v Jack Ganssle>I remember using a Tektronix 545, which is a vacuum tube scope.

00:06:46.520 --> 00:06:50.240
<v Jack Ganssle>It's pretty much all that was available when I was a young guy.

00:06:50.860 --> 00:06:56.160
<v Jack Ganssle>And the time-based switch, it was a monstrous thing.

00:06:56.740 --> 00:06:59.020
<v Jack Ganssle>I mean, when you turned it, it would rotate.

00:06:59.340 --> 00:06:59.820
<v Jack Ganssle>Yeah, exactly.

00:06:59.820 --> 00:07:02.080
<v Jack Ganssle>It took a bit of strength to actually change the time base.

00:07:02.300 --> 00:07:02.500
<v Jack Ganssle>Yeah.

00:07:02.680 --> 00:07:02.980
<v Jack Ganssle>Of course.

00:07:02.980 --> 00:07:05.880
<v Jack Ganssle>You just squeeze with your fingers on the screen.

00:07:06.520 --> 00:07:06.780
<v Chris Gammell>Oh, yeah.

00:07:06.780 --> 00:07:07.500
<v Chris Gammell>Those touchscreen ones.

00:07:07.540 --> 00:07:08.120
<v Chris Gammell>Yeah, those are fancy.

00:07:08.760 --> 00:07:08.900
<v Chris Gammell>Yeah.

00:07:08.900 --> 00:07:11.320
<v Chris Gammell>And you've actually gotten into reviewing some.

00:07:11.580 --> 00:07:12.660
<v Chris Gammell>Are you still doing videos?

00:07:12.720 --> 00:07:15.980
<v Chris Gammell>You were doing videos for a while in between these episodes.

00:07:16.120 --> 00:07:16.760
<v Chris Gammell>Are you still doing those?

00:07:16.760 --> 00:07:18.500
<v Jack Ganssle>I kind of backed off.

00:07:18.500 --> 00:07:21.820
<v Jack Ganssle>I have a couple, though, that I'm working on at this moment.

00:07:21.820 --> 00:07:22.240
<v Jack Ganssle>Okay.

00:07:22.240 --> 00:07:24.780
<v Jack Ganssle>And I expect to have at least one out in May.

00:07:25.280 --> 00:07:29.560
<v Jack Ganssle>I find, for me, videos are a tremendous amount of work.

00:07:29.660 --> 00:07:30.820
<v Jack Ganssle>I'm not quite sure why.

00:07:30.900 --> 00:07:35.960
<v Jack Ganssle>I think they don't align with my natural personality in some way.

00:07:35.960 --> 00:07:40.140
<v Jack Ganssle>So it is, like I say, a lot of work.

00:07:40.140 --> 00:07:46.020
<v Jack Ganssle>And I try to keep them to 10 minutes because people have limited time to actually look at these things.

00:07:46.760 --> 00:07:48.020
<v Jack Ganssle>But they get a lot of views.

00:07:48.100 --> 00:07:54.360
<v Jack Ganssle>I know, according to Yahoo, there's some number of millions of views of the 20 or 25 that I've done so far.

00:07:54.360 --> 00:07:54.800
<v Jack Ganssle>Wow.

00:07:56.560 --> 00:07:57.140
<v Chris Gammell>That's great.

00:07:57.320 --> 00:07:57.620
<v Chris Gammell>That's great.

00:07:57.700 --> 00:08:00.340
<v Chris Gammell>Yeah, and I think that kind of thing is, like, the knowledge is kind of built over time, too.

00:08:00.400 --> 00:08:05.460
<v Chris Gammell>That really helps to, like you were talking about, that kind of consistency and building stuff over time.

00:08:05.560 --> 00:08:09.240
<v Chris Gammell>It's resource building that, you know, gets reused whenever people need it.

00:08:10.840 --> 00:08:11.200
<v Jack Ganssle>Exactly.

00:08:11.440 --> 00:08:12.080
<v Jack Ganssle>And it's there.

00:08:12.180 --> 00:08:16.840
<v Jack Ganssle>And I also recognize that today people are video-centric.

00:08:17.500 --> 00:08:18.060
<v Jack Ganssle>I'm not.

00:08:18.400 --> 00:08:20.220
<v Jack Ganssle>I hate watching videos on my computer.

00:08:20.840 --> 00:08:23.140
<v Jack Ganssle>I don't need another reason to sit in front of the computer.

00:08:23.140 --> 00:08:30.780
<v Jack Ganssle>But I recognize the fact that especially younger folks get an awful lot of their information from videos.

00:08:30.960 --> 00:08:36.220
<v Jack Ganssle>And in some cases, a video really is the best way to convey some kinds of info.

00:08:36.320 --> 00:08:40.920
<v Jack Ganssle>This morning, I walked out in the other room, and my wife, who is working on a beading project,

00:08:41.480 --> 00:08:45.540
<v Jack Ganssle>was watching a video that showed her exactly how to do what has to be done.

00:08:45.640 --> 00:08:47.400
<v Jack Ganssle>And that really makes a lot of sense.

00:08:48.040 --> 00:08:48.140
<v Chris Gammell>Yeah.

00:08:48.140 --> 00:08:51.260
<v Chris Gammell>You know, I wish there were more, you know, on the embedded side of things,

00:08:51.260 --> 00:08:55.780
<v Chris Gammell>I wish there were more videos because I've been getting more into writing firmware.

00:08:56.180 --> 00:09:01.020
<v Chris Gammell>You know, I've done hardware for a long time, but just to be more self-sufficient, you know, I need to do more firmware.

00:09:01.660 --> 00:09:02.200
<v Chris Gammell>Yeah, sure.

00:09:02.400 --> 00:09:04.860
<v Chris Gammell>There were so many, like, stumbling blocks for me where I was just, you know,

00:09:04.880 --> 00:09:07.540
<v Chris Gammell>I wish I had a way to look over someone's shoulder, right?

00:09:07.540 --> 00:09:11.800
<v Chris Gammell>That's the one thing that I have given up, you know, moving to smaller companies and then moving out on my own.

00:09:11.800 --> 00:09:14.660
<v Chris Gammell>I just don't have someone I can go and talk to.

00:09:14.900 --> 00:09:16.100
<v Chris Gammell>And sometimes I can call a friend up.

00:09:16.340 --> 00:09:21.400
<v Chris Gammell>And, you know, so Alicia from Embedded, she's very kind, and she gave me some help and walked me through some stuff at one point.

00:09:21.480 --> 00:09:23.240
<v Chris Gammell>And I've had other friends do that as well.

00:09:23.300 --> 00:09:29.020
<v Chris Gammell>But, like, it's not the same as having, like, a mentor that you can just go and tap on the shoulder and be like,

00:09:29.080 --> 00:09:30.880
<v Chris Gammell>can you just show me how to do this one time?

00:09:30.880 --> 00:09:33.020
<v Chris Gammell>And then I'll be fine for the next six months, you know?

00:09:34.180 --> 00:09:42.620
<v Chris Gammell>And videos kind of do that, but it's so sparse and it's so, like, so, like, there's a couple series out there on, like, you know, SDM 32F1s and a couple other things.

00:09:42.720 --> 00:09:44.680
<v Chris Gammell>But if you're, then you kind of have to make that leap.

00:09:44.800 --> 00:09:52.120
<v Chris Gammell>And if there was something similar for every platform, I feel like that would really accelerate, you know, getting started kind of stuff.

00:09:52.540 --> 00:09:52.780
<v Chris Gammell>Maybe.

00:09:53.000 --> 00:09:53.260
<v Chris Gammell>I don't know.

00:09:53.740 --> 00:09:55.360
<v Jack Ganssle>I think there'd be some value there.

00:09:55.480 --> 00:09:59.680
<v Jack Ganssle>The challenge with the embedded world, of course, is that it's so vast.

00:10:00.340 --> 00:10:00.700
<v Jack Ganssle>Sure.

00:10:00.880 --> 00:10:01.000
<v Jack Ganssle>Yeah.

00:10:01.140 --> 00:10:04.400
<v Jack Ganssle>It's hard to really, you know, do something as specific.

00:10:04.560 --> 00:10:07.940
<v Jack Ganssle>Yeah, you could do something about watchdog timers or whatever.

00:10:08.200 --> 00:10:15.260
<v Jack Ganssle>But, you know, you're talking about there's something like 80,000 part numbers on DigiKey for microcontrollers.

00:10:15.900 --> 00:10:16.040
<v Jack Ganssle>Yeah.

00:10:16.340 --> 00:10:21.340
<v Jack Ganssle>I mean, obviously, a lot of those are duplicates, the same part in different packages and stuff.

00:10:21.560 --> 00:10:23.800
<v Chris Gammell>But even in 1,000, right, that would be the time.

00:10:23.860 --> 00:10:23.940
<v Chris Gammell>Yeah.

00:10:23.940 --> 00:10:24.320
<v Chris Gammell>Yeah, you're right.

00:10:24.440 --> 00:10:24.540
<v Chris Gammell>Yeah.

00:10:24.560 --> 00:10:28.060
<v Chris Gammell>And then it would have to be each, you know, progression down the lane.

00:10:28.900 --> 00:10:29.240
<v Chris Gammell>Yeah.

00:10:29.240 --> 00:10:30.960
<v Chris Gammell>But, I mean, it's pretty limited in general.

00:10:31.160 --> 00:10:33.180
<v Chris Gammell>Like, it's, and I'm not sure why.

00:10:33.280 --> 00:10:40.140
<v Chris Gammell>I think it's, I think maybe it's the chip companies don't have resources for it or maybe because the tool sets change so often.

00:10:40.140 --> 00:10:44.500
<v Chris Gammell>You know, like, they're using, like, Eclipse-based debugger or Eclipse-based IDs and stuff.

00:10:44.700 --> 00:10:47.080
<v Chris Gammell>And those are always shuffling stuff around.

00:10:47.280 --> 00:10:49.140
<v Chris Gammell>But it's very sparse.

00:10:49.340 --> 00:10:50.280
<v Chris Gammell>I'm surprised.

00:10:50.360 --> 00:10:51.420
<v Chris Gammell>I've always been surprised about that.

00:10:51.420 --> 00:11:01.060
<v Jack Ganssle>I think the chip companies have always done a relatively poor job of helping engineers use their parts.

00:11:01.280 --> 00:11:05.300
<v Jack Ganssle>They're, they've always been focused on selling hardware, silicon.

00:11:05.760 --> 00:11:06.060
<v Jack Ganssle>Right.

00:11:06.060 --> 00:11:10.540
<v Jack Ganssle>And they don't recognize that the silicon is usually a very small part of the problem.

00:11:10.980 --> 00:11:21.760
<v Jack Ganssle>It's for a very long time since, man, back into the 80s, the silicon companies have provided software, you know, stuff to help us get us going.

00:11:22.460 --> 00:11:22.560
<v Jack Ganssle>Right.

00:11:22.560 --> 00:11:30.160
<v Jack Ganssle>But if there's one universal thing, cry of despair I hear from firmware people is that the code's crap.

00:11:32.240 --> 00:11:34.800
<v Jack Ganssle>I mean, usually or all too often it doesn't work correctly.

00:11:35.180 --> 00:11:40.080
<v Jack Ganssle>If it does work correctly, it only exercises a very small part of, say, a timer.

00:11:40.200 --> 00:11:44.340
<v Jack Ganssle>A timer might have 50 different modes and they set it up to be just a timer tick.

00:11:45.020 --> 00:11:50.840
<v Jack Ganssle>I've heard this complaint for 35 years, I guess, and things have not changed.

00:11:50.840 --> 00:11:52.960
<v Jack Ganssle>I'll give you an example where there is a little change.

00:11:53.640 --> 00:11:53.660
<v Jack Ganssle>Sure.

00:11:53.760 --> 00:11:56.900
<v Jack Ganssle>I have to give them some, a compliment here.

00:11:56.960 --> 00:12:06.040
<v Jack Ganssle>Renaissance has come up with this Synergy platform where they basically provide you with software to drive all their peripherals.

00:12:06.580 --> 00:12:12.880
<v Jack Ganssle>But what's really interesting is it drives the peripherals in every possible mode and it's guaranteed.

00:12:13.360 --> 00:12:15.440
<v Jack Ganssle>They guarantee that stuff's going to work.

00:12:16.360 --> 00:12:16.820
<v Chris Gammell>That's interesting.

00:12:17.200 --> 00:12:19.440
<v Jack Ganssle>I don't want to be a shill for anyone because I'm not.

00:12:19.440 --> 00:12:23.040
<v Jack Ganssle>I just, I just tell people what I like, but I find it fascinating.

00:12:23.160 --> 00:12:33.040
<v Jack Ganssle>And one of the things they did, which is really interesting, is that they provide a quality assessment of every component of the Synergy platform.

00:12:33.280 --> 00:12:39.220
<v Jack Ganssle>So it's sort of like when you get a QA document for a part, you get the same sort of thing for the software components.

00:12:39.960 --> 00:12:43.320
<v Jack Ganssle>It shows you what tests they've run, what the results of the tests have been.

00:12:43.320 --> 00:12:47.180
<v Jack Ganssle>And Synergy itself, the platform is free.

00:12:48.180 --> 00:12:50.980
<v Jack Ganssle>You get the entire IAR tool chain for free.

00:12:51.500 --> 00:12:59.280
<v Jack Ganssle>You get all of ExpressLogic's tools, you know, the OS and the, the comm software and all that stuff for free.

00:12:59.420 --> 00:13:00.800
<v Jack Ganssle>These are not watered down versions.

00:13:00.920 --> 00:13:02.720
<v Jack Ganssle>These are full bone versions.

00:13:02.720 --> 00:13:04.600
<v Jack Ganssle>The only thing is you have to buy Synergy Silicon.

00:13:05.420 --> 00:13:06.260
<v Jack Ganssle>So it's interesting.

00:13:06.900 --> 00:13:06.960
<v Chris Gammell>Yeah.

00:13:07.040 --> 00:13:11.820
<v Chris Gammell>So it's basically like the Silicon vendors are buying up tool sets to, as like a loss leader now.

00:13:11.880 --> 00:13:15.500
<v Chris Gammell>Whereas in the past it would have been like, oh, you've got to buy that IAR license.

00:13:15.600 --> 00:13:17.100
<v Chris Gammell>You've got to buy the ExpressLogic stuff.

00:13:17.180 --> 00:13:20.580
<v Chris Gammell>You've got to buy this and this and this and this and this on top of the actual Silicon.

00:13:21.160 --> 00:13:21.460
<v Jack Ganssle>Right.

00:13:21.500 --> 00:13:23.220
<v Jack Ganssle>And then you have to make it all work together.

00:13:23.780 --> 00:13:24.100
<v Jack Ganssle>Right.

00:13:24.460 --> 00:13:26.120
<v Chris Gammell>Well, that sounds easy, Jack.

00:13:26.220 --> 00:13:26.480
<v Chris Gammell>Come on.

00:13:27.200 --> 00:13:28.380
<v Chris Gammell>What could possibly go wrong?

00:13:28.380 --> 00:13:36.160
<v Jack Ganssle>I don't know about you, Chris, but boy, I am so tired of trying to bring in yet another IDE, make that work with another art.

00:13:36.860 --> 00:13:40.360
<v Jack Ganssle>I mean, you know, life is too short to be doing that kind of stuff.

00:13:41.940 --> 00:13:51.220
<v Chris Gammell>Well, and it sounds like some of this stuff's getting better, but it sounds like, so why, I guess, give us, you know, your 30,000 foot view of all this stuff.

00:13:51.280 --> 00:13:52.660
<v Chris Gammell>I mean, like you've seen it for a long time.

00:13:52.740 --> 00:13:55.100
<v Chris Gammell>Like, why aren't RTOS easier?

00:13:55.240 --> 00:13:56.520
<v Chris Gammell>Why aren't the IDs better?

00:13:56.520 --> 00:13:59.380
<v Chris Gammell>What about it is still the challenge?

00:14:00.640 --> 00:14:03.440
<v Jack Ganssle>Well, I would look at that a different way, I think.

00:14:03.840 --> 00:14:06.540
<v Jack Ganssle>The IDEs, they can be frustrating.

00:14:06.660 --> 00:14:10.420
<v Jack Ganssle>There's no question about it, but they offer an awful lot of power today.

00:14:10.640 --> 00:14:18.520
<v Jack Ganssle>And it's, when I first got into Embedded, we used paper tape as our mass storage media running through a teletype.

00:14:19.540 --> 00:14:23.160
<v Jack Ganssle>And compared to where that was to where we are today, it's pretty incredible.

00:14:23.160 --> 00:14:30.100
<v Jack Ganssle>Well, the RTOSs are, they're fundamentally, I think, fairly easy to use.

00:14:30.200 --> 00:14:32.180
<v Jack Ganssle>The problem is that every single one is different.

00:14:32.300 --> 00:14:36.760
<v Jack Ganssle>You've got to learn a whole new API every time you change RTOSs.

00:14:36.760 --> 00:14:43.700
<v Jack Ganssle>And then what the killer today, I think, is ECOM stuff because there's just so much of it.

00:14:44.240 --> 00:14:47.860
<v Jack Ganssle>My God, every time you turn around, there's another communications protocol.

00:14:48.680 --> 00:14:49.440
<v Chris Gammell>Oh, got it, got it.

00:14:49.800 --> 00:14:50.600
<v Chris Gammell>Okay, yeah.

00:14:50.600 --> 00:14:58.260
<v Chris Gammell>So you're saying, like, there's now, there's Bluetooth and Wi-Fi and Zigbee and all the, everything else that's out there in addition to the wired standards?

00:14:59.000 --> 00:14:59.220
<v Jack Ganssle>Yeah.

00:14:59.720 --> 00:15:01.080
<v Jack Ganssle>There's so many of them.

00:15:01.120 --> 00:15:02.200
<v Jack Ganssle>It used to be fairly simple.

00:15:02.340 --> 00:15:04.120
<v Jack Ganssle>If you were in a car, you had CAN.

00:15:04.700 --> 00:15:07.360
<v Jack Ganssle>Well, now you've got, you know, Wi-Fi.

00:15:07.480 --> 00:15:08.780
<v Jack Ganssle>You've probably got a cellular connection.

00:15:08.900 --> 00:15:09.560
<v Jack Ganssle>You've got CAN.

00:15:09.680 --> 00:15:10.360
<v Jack Ganssle>You've got Bluetooth.

00:15:10.640 --> 00:15:14.880
<v Jack Ganssle>You've got just an enormous number of these interfaces.

00:15:14.880 --> 00:15:16.900
<v Jack Ganssle>And all the interfaces are different.

00:15:17.640 --> 00:15:19.440
<v Jack Ganssle>And they tend to be complex.

00:15:19.620 --> 00:15:23.560
<v Jack Ganssle>I mean, you know, I still see people writing TCP IP stacks.

00:15:24.440 --> 00:15:28.580
<v Jack Ganssle>And a decent TCP IP stack is going to be 100,000 lines of code.

00:15:29.760 --> 00:15:31.360
<v Jack Ganssle>That's a pretty serious commitment.

00:15:32.120 --> 00:15:33.020
<v Jack Ganssle>Right, right.

00:15:33.300 --> 00:15:33.760
<v Chris Gammell>Yeah, yeah.

00:15:33.800 --> 00:15:40.780
<v Chris Gammell>If you're hunting down bugs and you're making sure it's rock solid, then it's a lot of, it's not just 100,000 lines once.

00:15:40.780 --> 00:15:44.300
<v Chris Gammell>It's many millions to get down to 100,000 that work right every time.

00:15:44.880 --> 00:15:45.100
<v Jack Ganssle>Right.

00:15:45.500 --> 00:15:56.720
<v Jack Ganssle>And one of the problems we face, and it's the same problem we've always faced, is that developers don't trust a lot of the code that's available out there for good reasons and maybe not so good reasons.

00:15:56.720 --> 00:16:08.660
<v Jack Ganssle>I think a lot of folks have been burned by vendor-supplied and code from other sources, proprietary sources, where, you know, there have been bugs.

00:16:09.580 --> 00:16:13.360
<v Jack Ganssle>And you report the bug and it takes six months to get a fix.

00:16:13.360 --> 00:16:15.940
<v Jack Ganssle>We can't afford to do that.

00:16:16.800 --> 00:16:20.280
<v Jack Ganssle>And that's one of the reasons I think so much open source is so popular.

00:16:21.580 --> 00:16:24.320
<v Jack Ganssle>I tend to be more of a, I don't want to say skeptic.

00:16:24.380 --> 00:16:26.160
<v Jack Ganssle>I think open source is absolutely wonderful.

00:16:26.160 --> 00:16:29.420
<v Jack Ganssle>But I don't want to maintain that code.

00:16:29.640 --> 00:16:30.160
<v Jack Ganssle>You know what I mean?

00:16:31.560 --> 00:16:35.000
<v Jack Ganssle>I want to write a check and get something that works.

00:16:35.640 --> 00:16:35.700
<v Chris Gammell>Right.

00:16:35.780 --> 00:16:36.660
<v Chris Gammell>I think that's a great point.

00:16:36.740 --> 00:16:39.640
<v Chris Gammell>I mean, you want someone, basically, I always talk about, like, wanting someone to yell at.

00:16:40.220 --> 00:16:40.380
<v Chris Gammell>Yeah.

00:16:40.600 --> 00:16:42.660
<v Chris Gammell>And who do you get to yell at if you use an open source?

00:16:42.760 --> 00:16:43.860
<v Chris Gammell>It's like, the developer?

00:16:44.000 --> 00:16:45.340
<v Chris Gammell>Like, they're giving it to you for free.

00:16:45.420 --> 00:16:46.040
<v Chris Gammell>You can't yell at them.

00:16:46.440 --> 00:16:46.660
<v Chris Gammell>You know?

00:16:46.660 --> 00:16:48.140
<v Chris Gammell>And yeah.

00:16:48.760 --> 00:16:49.280
<v Chris Gammell>It's true.

00:16:49.460 --> 00:16:53.940
<v Chris Gammell>And penning a check allows you, gives you that power of, like, no, I have this agreement with you.

00:16:54.000 --> 00:16:55.220
<v Chris Gammell>You must give me working stuff.

00:16:56.180 --> 00:16:56.840
<v Jack Ganssle>It's true.

00:16:57.020 --> 00:17:00.480
<v Jack Ganssle>And I don't like to pick on vendors, but I will.

00:17:00.480 --> 00:17:09.260
<v Jack Ganssle>I mean, if you look at Wind River, from my travels around the world, I find very few people who are happy with VXWorks anymore.

00:17:10.200 --> 00:17:18.440
<v Jack Ganssle>And if I look at what Wind is doing, it appears to me that their focus is more and more on their Linux offerings rather than the VXWorks itself.

00:17:19.600 --> 00:17:27.580
<v Jack Ganssle>And, you know, I've heard so many reports of people having problems and being unable to get adequate support out of that company.

00:17:27.580 --> 00:17:33.120
<v Jack Ganssle>You compare that to someone like Micrium, who is now owned by Silicon Labs, of course.

00:17:33.760 --> 00:17:36.200
<v Jack Ganssle>They tend to have a pretty happy customer base.

00:17:36.540 --> 00:17:39.300
<v Jack Ganssle>They're focusing on doing the right thing, making the customers happy.

00:17:40.420 --> 00:17:42.340
<v Chris Gammell>You had mentioned Wind River does Linux stuff now.

00:17:42.440 --> 00:17:44.620
<v Chris Gammell>I guess I haven't paid much attention to them.

00:17:45.040 --> 00:17:45.680
<v Jack Ganssle>There you go.

00:17:45.760 --> 00:17:46.500
<v Jack Ganssle>That says it all.

00:17:47.580 --> 00:17:57.560
<v Jack Ganssle>They're famous for VXWorks, but I've been looking at the surveys over the last handful of years, and VXWorks is drastically shrinking in popularity.

00:17:58.540 --> 00:18:03.300
<v Jack Ganssle>They do offer all kinds of embedded Linux offerings and support for that.

00:18:03.660 --> 00:18:04.240
<v Chris Gammell>Oh, I see.

00:18:04.620 --> 00:18:04.740
<v Jack Ganssle>Okay.

00:18:04.780 --> 00:18:06.840
<v Jack Ganssle>I'm not sure who's actually using that.

00:18:07.580 --> 00:18:08.360
<v Jack Ganssle>I mean, who's winning?

00:18:09.100 --> 00:18:13.840
<v Chris Gammell>So it's like you're saying the VXWorks is the RTOS offering, and then more people are moving to...

00:18:13.840 --> 00:18:19.740
<v Chris Gammell>They are focusing more on the embedded Linux and more full-blown, a different portion of embedded processing.

00:18:20.440 --> 00:18:20.840
<v Jack Ganssle>Exactly.

00:18:21.560 --> 00:18:26.180
<v Jack Ganssle>I mean, if I look at who's winning in the RTOS space, it's things like FreeRTOS.

00:18:26.700 --> 00:18:27.100
<v Chris Gammell>Yeah.

00:18:27.820 --> 00:18:31.060
<v Jack Ganssle>But, you know, FreeRTOS was purchased by Amazon.

00:18:31.620 --> 00:18:32.060
<v Jack Ganssle>That's right.

00:18:32.400 --> 00:18:34.160
<v Chris Gammell>I did not actually realize that.

00:18:34.160 --> 00:18:38.320
<v Chris Gammell>And it was like they had an agreement with the guy that started FreeRTOS, but it's not like...

00:18:38.320 --> 00:18:39.620
<v Chris Gammell>They don't actually own it and own it, do they?

00:18:39.640 --> 00:18:40.420
<v Chris Gammell>It's still free.

00:18:40.960 --> 00:18:42.660
<v Chris Gammell>I don't quite understand how all that works.

00:18:43.060 --> 00:18:43.840
<v Jack Ganssle>There's still...

00:18:43.840 --> 00:18:44.960
<v Jack Ganssle>They do own it.

00:18:45.320 --> 00:18:47.440
<v Jack Ganssle>There is still a free version.

00:18:48.260 --> 00:18:50.080
<v Jack Ganssle>And, you know, it's a great little OS.

00:18:50.160 --> 00:18:50.540
<v Jack Ganssle>It's great.

00:18:50.540 --> 00:18:55.060
<v Jack Ganssle>But they have a more proprietary version that they've sort of integrated with their web.

00:18:55.280 --> 00:18:55.560
<v Chris Gammell>Yeah.

00:18:55.560 --> 00:18:55.780
<v Chris Gammell>Yeah.

00:18:55.780 --> 00:18:57.020
<v Chris Gammell>AWS IoT stuff.

00:18:57.220 --> 00:18:57.620
<v Chris Gammell>Exactly.

00:18:58.340 --> 00:18:58.520
<v Chris Gammell>Yeah.

00:18:59.060 --> 00:19:02.180
<v Jack Ganssle>And then, you know, last year Microsoft bought ExpressLogic.

00:19:02.900 --> 00:19:03.820
<v Chris Gammell>Oh, I didn't know that.

00:19:03.940 --> 00:19:05.020
<v Chris Gammell>Man, I haven't paid attention to anything.

00:19:05.640 --> 00:19:07.000
<v Jack Ganssle>Well, think about this.

00:19:07.020 --> 00:19:08.340
<v Jack Ganssle>This is very interesting.

00:19:08.540 --> 00:19:14.380
<v Jack Ganssle>So these giants, these cloud providers want to get their fingers into the last micro-inch.

00:19:14.760 --> 00:19:15.540
<v Jack Ganssle>Yeah, right.

00:19:16.040 --> 00:19:17.920
<v Jack Ganssle>They want to be right at our sensors.

00:19:17.920 --> 00:19:22.520
<v Chris Gammell>And they want to tie it back to their cloud services, of course, where they can charge

00:19:22.520 --> 00:19:24.040
<v Chris Gammell>per bit, per byte, whatever.

00:19:24.940 --> 00:19:28.680
<v Jack Ganssle>They can charge per bit, per byte, and they also know everything that's going on.

00:19:28.980 --> 00:19:31.400
<v Jack Ganssle>I wonder what else they will be selling.

00:19:31.520 --> 00:19:36.660
<v Jack Ganssle>What kind of information is going into their cloud that will be monetized somehow?

00:19:37.540 --> 00:19:37.700
<v Jack Ganssle>Yeah.

00:19:38.220 --> 00:19:39.180
<v Chris Gammell>Yeah, it's interesting.

00:19:39.180 --> 00:19:46.920
<v Chris Gammell>I mean, I know some folks at AWS, and just hearing the scale of the business is mind-boggling,

00:19:47.000 --> 00:19:47.400
<v Chris Gammell>to be honest.

00:19:47.400 --> 00:19:50.820
<v Chris Gammell>I mean, like, it's the amount of data that they're just like, yeah, we'll just take every

00:19:50.820 --> 00:19:52.240
<v Chris Gammell>piece of data you have, you know?

00:19:52.780 --> 00:19:54.440
<v Chris Gammell>And it's just like, oh, okay.

00:19:54.800 --> 00:19:55.580
<v Chris Gammell>Like, what are you doing with that?

00:19:55.640 --> 00:19:56.300
<v Chris Gammell>They're like, we don't know.

00:19:56.380 --> 00:19:57.580
<v Chris Gammell>We'll just figure it out later.

00:19:57.660 --> 00:19:58.220
<v Chris Gammell>We'll sell it to someone.

00:19:58.400 --> 00:20:02.080
<v Chris Gammell>They may not sell it to someone, but we'll, you know, give tools so that people can analyze

00:20:02.080 --> 00:20:02.460
<v Chris Gammell>it later.

00:20:02.560 --> 00:20:03.620
<v Chris Gammell>It's like, oh, okay.

00:20:04.160 --> 00:20:04.860
<v Chris Gammell>I guess that's the thing.

00:20:04.980 --> 00:20:07.160
<v Chris Gammell>But I never thought it would have worked like that.

00:20:07.160 --> 00:20:12.960
<v Jack Ganssle>My son is a PhD in physics, and he works in the AI business.

00:20:13.920 --> 00:20:17.180
<v Jack Ganssle>And to talk to him about what he does sort of blows my mind.

00:20:17.340 --> 00:20:22.640
<v Jack Ganssle>He says, well, I'll spin up 100,000 servers on Amazon, send them up a couple of terabytes

00:20:22.640 --> 00:20:26.680
<v Jack Ganssle>worth of data, and do whatever analysis has to be done.

00:20:26.760 --> 00:20:28.000
<v Jack Ganssle>I mean, it's incredible.

00:20:28.700 --> 00:20:28.820
<v Chris Gammell>Yeah.

00:20:29.200 --> 00:20:34.980
<v Chris Gammell>So Embedded FM had a machine learning folks, a person on there, and I hear other type of

00:20:34.980 --> 00:20:35.640
<v Chris Gammell>talks like that.

00:20:35.680 --> 00:20:39.600
<v Chris Gammell>And I just, I think about it, and then I think, and then I come back to my bench, and I'm

00:20:39.600 --> 00:20:45.020
<v Chris Gammell>working on an 8-bit microprocessor, microprocessor, rather, and I can't get it to work.

00:20:45.040 --> 00:20:47.700
<v Chris Gammell>And I'm just like, how does anything ever work, Jack?

00:20:49.540 --> 00:20:54.420
<v Jack Ganssle>It is, it really does make you wonder how anything works.

00:20:54.920 --> 00:20:57.740
<v Jack Ganssle>It's pretty incredible, the complexity out there.

00:20:58.600 --> 00:21:04.280
<v Jack Ganssle>I mean, if I send an email to my wife, who sits 10 feet away, it goes bouncing all over

00:21:04.280 --> 00:21:05.860
<v Jack Ganssle>the universe before it gets to her.

00:21:06.700 --> 00:21:08.460
<v Chris Gammell>Right, right, right.

00:21:09.260 --> 00:21:14.340
<v Chris Gammell>So complexity is not getting any lower, but there's still like this spectrum of stuff.

00:21:14.400 --> 00:21:19.400
<v Chris Gammell>And actually, I wanted to pull up some, so I was re-listening to our eight years ago thing,

00:21:19.400 --> 00:21:25.820
<v Chris Gammell>and we talked about, one of the things we talked about was the span of microcontrollers

00:21:25.820 --> 00:21:31.620
<v Chris Gammell>and how 8-bits, Dave brought up the death of the 8-bit micro is greatly exaggerated.

00:21:31.620 --> 00:21:35.180
<v Chris Gammell>And we were talking about just like how 8-bit still hasn't gone away at that point.

00:21:35.420 --> 00:21:36.520
<v Chris Gammell>I still don't think it has now.

00:21:36.620 --> 00:21:40.460
<v Chris Gammell>And just the scale of how microcontrollers and microprocessors have expanded.

00:21:40.460 --> 00:21:46.180
<v Chris Gammell>What's your take on it now, nine-ish years later, of like how things have kind of spread into

00:21:46.180 --> 00:21:46.700
<v Chris Gammell>the industry?

00:21:47.700 --> 00:21:54.820
<v Jack Ganssle>Well, I bet you it was 30 years ago I had lunch with an analyst who told me that 8-bits was

00:21:54.820 --> 00:21:55.120
<v Jack Ganssle>dead.

00:21:55.820 --> 00:21:56.440
<v Jack Ganssle>Right, right.

00:21:56.440 --> 00:21:57.840
<v Jack Ganssle>And here we are 30 years later.

00:21:57.900 --> 00:21:59.960
<v Chris Gammell>Yeah, actually, you brought that up in that episode too.

00:22:00.040 --> 00:22:00.360
<v Chris Gammell>Okay.

00:22:00.360 --> 00:22:02.520
<v Chris Gammell>So still the case, huh?

00:22:03.100 --> 00:22:06.740
<v Jack Ganssle>I think this is more of an explosion than a contraction.

00:22:07.140 --> 00:22:11.020
<v Jack Ganssle>And I think that 8-bit still fills an important niche.

00:22:11.120 --> 00:22:17.000
<v Jack Ganssle>As a matter of fact, I just got an email from Microchip a day or two ago, and they're talking

00:22:17.000 --> 00:22:23.140
<v Jack Ganssle>about the need for very small NOR flash memories and that they're becoming unavailable because

00:22:23.140 --> 00:22:26.220
<v Jack Ganssle>everyone wants to sell these big flash memories.

00:22:26.540 --> 00:22:27.220
<v Jack Ganssle>Right, right.

00:22:27.220 --> 00:22:33.240
<v Jack Ganssle>But Microchip's point was that a little tiny one is the perfect solution for some applications

00:22:33.240 --> 00:22:35.480
<v Jack Ganssle>where you want low cost, low power.

00:22:35.760 --> 00:22:37.180
<v Jack Ganssle>Power is kind of everything.

00:22:37.740 --> 00:22:41.940
<v Jack Ganssle>You don't want to power up 100 million transistors when you're only using a million.

00:22:43.120 --> 00:22:45.040
<v Jack Ganssle>And I think 8-bits is sort of the same way.

00:22:45.120 --> 00:22:51.120
<v Jack Ganssle>You don't really want to consume all those resources in many applications.

00:22:51.120 --> 00:22:58.520
<v Jack Ganssle>Now, something that is a little different, I think, is with the ARM microcontrollers, the

00:22:58.520 --> 00:23:08.440
<v Jack Ganssle>Cortex-M, for example, they've become so cheap and so powerful that it's sort of hard to compete

00:23:08.440 --> 00:23:12.020
<v Jack Ganssle>against those if you're building something that's not tremendously price sensitive.

00:23:12.020 --> 00:23:19.300
<v Jack Ganssle>Why would you drop an 8-bitter into an application that's being sold for a lot of money?

00:23:19.420 --> 00:23:25.720
<v Jack Ganssle>It just doesn't make a whole lot of sense today when you're getting megabytes of memory and all this kind of stuff

00:23:25.720 --> 00:23:28.340
<v Jack Ganssle>on an MCU for just a couple of bucks more.

00:23:29.360 --> 00:23:29.380
<v Chris Gammell>Right.

00:23:29.860 --> 00:23:34.260
<v Chris Gammell>Yeah, I think the balance point for me, so I'm using an EF-M8.

00:23:34.260 --> 00:23:38.540
<v Chris Gammell>The only reason I chose it, it's got an 8051 in it, is because of the peripherals.

00:23:39.540 --> 00:23:43.460
<v Chris Gammell>And I think that's what it comes down to, is that it became this corner case of like,

00:23:43.520 --> 00:23:48.000
<v Chris Gammell>oh, well, it's a pretty good fit and it's got the peripherals I need.

00:23:48.500 --> 00:23:51.580
<v Chris Gammell>And as a hardware person, that was really critical to me.

00:23:52.060 --> 00:23:52.300
<v Chris Gammell>Yes.

00:23:52.380 --> 00:23:57.380
<v Chris Gammell>Maybe less so if I was doing really, really high-end processing or really anything high-end at all.

00:23:59.000 --> 00:24:03.900
<v Jack Ganssle>Well, the other side of using a part like that, is that Silicon Labs?

00:24:04.940 --> 00:24:05.300
<v Chris Gammell>Yes, it is.

00:24:05.360 --> 00:24:05.440
<v Chris Gammell>Yeah.

00:24:05.540 --> 00:24:05.720
<v Jack Ganssle>Yeah.

00:24:05.760 --> 00:24:06.000
<v Jack Ganssle>Okay.

00:24:07.000 --> 00:24:08.140
<v Jack Ganssle>Gee, it may be an aside.

00:24:08.860 --> 00:24:10.640
<v Jack Ganssle>That company drives me nuts.

00:24:12.400 --> 00:24:15.180
<v Jack Ganssle>It's so hard to get them to characterize their parts.

00:24:15.260 --> 00:24:18.260
<v Jack Ganssle>They give you plenty of typical numbers, but I want mins and maxes.

00:24:18.420 --> 00:24:18.800
<v Jack Ganssle>It's really.

00:24:18.860 --> 00:24:19.200
<v Chris Gammell>Oh, yeah.

00:24:19.740 --> 00:24:27.080
<v Jack Ganssle>But anyway, when you're using a part like an 8051 with a restricted, probably restricted peripheral set,

00:24:28.040 --> 00:24:29.540
<v Jack Ganssle>those parts are easy to use.

00:24:29.900 --> 00:24:33.380
<v Jack Ganssle>My God, you look at a Cortex-M, some of these peripherals on these things,

00:24:33.380 --> 00:24:36.820
<v Jack Ganssle>you need a PhD to figure out how to program the damn things.

00:24:37.300 --> 00:24:37.560
<v Chris Gammell>Right.

00:24:37.780 --> 00:24:38.080
<v Jack Ganssle>Right.

00:24:38.100 --> 00:24:38.380
<v Jack Ganssle>Exactly.

00:24:38.580 --> 00:24:38.720
<v Chris Gammell>Yeah.

00:24:38.840 --> 00:24:40.940
<v Chris Gammell>And that actually was one of my struggles.

00:24:41.120 --> 00:24:48.060
<v Chris Gammell>I was actually, it was this really nice, like, kind of, like I said, as I'm getting more firmware in my life,

00:24:48.540 --> 00:24:50.480
<v Chris Gammell>it was like, there's definitely quirks.

00:24:50.540 --> 00:24:51.700
<v Chris Gammell>There's some weird, weird quirks.

00:24:51.920 --> 00:24:52.180
<v Chris Gammell>Sure.

00:24:52.180 --> 00:24:57.540
<v Chris Gammell>Because you're dealing with an 851 and, you know, it's got paging because it's got the old parts and the new parts, whatever.

00:24:57.540 --> 00:25:05.560
<v Chris Gammell>But, like, but the fact that it is real simple to understand the registers and, like, yeah, it's, you know,

00:25:05.620 --> 00:25:08.360
<v Chris Gammell>the data sheet is only a couple hundred pages instead of a couple thousand.

00:25:08.680 --> 00:25:09.540
<v Chris Gammell>That is great.

00:25:10.660 --> 00:25:11.900
<v Chris Gammell>You know, take what I get.

00:25:11.900 --> 00:25:19.060
<v Jack Ganssle>Well, a long time ago, someone at Microchip told me that a lot of their customers are not software people.

00:25:19.160 --> 00:25:20.180
<v Jack Ganssle>They're domain experts.

00:25:20.300 --> 00:25:22.580
<v Jack Ganssle>They're experts at motor control or something.

00:25:22.660 --> 00:25:25.660
<v Jack Ganssle>And they're writing a few hundred words of program.

00:25:26.540 --> 00:25:29.460
<v Jack Ganssle>And they want something that's fairly simple and easy to use.

00:25:29.640 --> 00:25:31.840
<v Jack Ganssle>And there is a lot of value to that.

00:25:31.920 --> 00:25:37.980
<v Jack Ganssle>And I think that we're going to continue to see those kinds of needs for as long as we have the embedded business.

00:25:37.980 --> 00:25:46.720
<v Jack Ganssle>The fact that you can buy a cheap processor, a small, cheap processor means it opens up all kinds of new applications that no one ever imagined before.

00:25:47.740 --> 00:25:47.840
<v Chris Gammell>Yeah.

00:25:48.100 --> 00:25:48.260
<v Chris Gammell>Yeah.

00:25:48.260 --> 00:26:00.960
<v Chris Gammell>I wonder if there will be like a, or maybe that already exists, actually, like a bathtub curve style pricing model where, like, you want to buy, like, a Cortex M0 for, like, you know, that has the standard amount of features.

00:26:00.960 --> 00:26:02.300
<v Chris Gammell>That's, like, the cheapest thing you can do.

00:26:02.300 --> 00:26:08.560
<v Chris Gammell>And then if you want to go smaller and smaller, it gets more expensive just because maybe it's a shrinking segment of the overall business.

00:26:09.880 --> 00:26:09.920
<v Jack Ganssle>Yeah.

00:26:10.020 --> 00:26:11.920
<v Jack Ganssle>I think that we already see that.

00:26:12.040 --> 00:26:19.160
<v Jack Ganssle>We're seeing, for example, today more and more companies are coming out with the machine learning versions of the ARM parts.

00:26:19.580 --> 00:26:25.280
<v Jack Ganssle>And those are going to be more and more niche markets so that the parts themselves will be more expensive.

00:26:25.280 --> 00:26:30.200
<v Jack Ganssle>But they maybe are worth the money because of the niche that they fulfill so brilliantly.

00:26:31.020 --> 00:26:36.980
<v Jack Ganssle>Back in the olden, olden days, making a piece of silicon was a major deal.

00:26:37.680 --> 00:26:40.480
<v Jack Ganssle>Today, there were only a handful of companies that could do it.

00:26:41.000 --> 00:26:44.140
<v Jack Ganssle>Today, of course, any little startup can come out with their silicon.

00:26:44.140 --> 00:26:53.880
<v Jack Ganssle>And ARM, actually, will license you their IP for free, at least until you get started, get your system up and going.

00:26:54.760 --> 00:26:57.480
<v Jack Ganssle>And that's pretty seductive.

00:26:57.540 --> 00:27:05.600
<v Jack Ganssle>It makes you realize that specialized parts are a very interesting and valuable commodity.

00:27:07.000 --> 00:27:07.020
<v Chris Gammell>Yeah.

00:27:07.100 --> 00:27:10.280
<v Chris Gammell>I think ARM's getting a little spooked, too, by the RISC-V stuff.

00:27:10.280 --> 00:27:16.560
<v Chris Gammell>I think they opened up their licensing even more when RISC-V started to get some more traction.

00:27:16.860 --> 00:27:18.100
<v Chris Gammell>Do you have any take on RISC-V?

00:27:20.700 --> 00:27:24.800
<v Jack Ganssle>Well, RISC-V, I mean, there's not much you can actually buy today.

00:27:25.420 --> 00:27:27.980
<v Jack Ganssle>Not much in the way of parts that you can actually get.

00:27:28.780 --> 00:27:37.140
<v Jack Ganssle>I think a lot of companies are dallying with it because you don't have the ARM tax that you have any time you use their IP.

00:27:37.140 --> 00:27:44.820
<v Jack Ganssle>I guess I'm a little bit of a cynic in that we have so many architectures that are available today.

00:27:45.120 --> 00:27:47.540
<v Jack Ganssle>I'm not quite sure that we need more.

00:27:48.100 --> 00:27:51.780
<v Jack Ganssle>You have to worry about the tool chains, kind of Uber-alas.

00:27:51.780 --> 00:28:02.780
<v Jack Ganssle>And the tool chains for the 8051, the ARM, all these other parts are well proven and have been around for a long time.

00:28:03.800 --> 00:28:09.700
<v Jack Ganssle>Engineers tend to be very – or smart engineers, I'll say, tend to be pretty conservative.

00:28:09.880 --> 00:28:11.140
<v Jack Ganssle>I don't mean in politics.

00:28:11.960 --> 00:28:12.080
<v Jack Ganssle>Right.

00:28:12.780 --> 00:28:13.700
<v Jack Ganssle>Risk-averse, you're saying?

00:28:13.800 --> 00:28:15.020
<v Jack Ganssle>Risk-averse, exactly.

00:28:15.020 --> 00:28:16.300
<v Jack Ganssle>Yeah, I agree.

00:28:16.560 --> 00:28:20.940
<v Jack Ganssle>And I don't want to go out on a limb and start working with unknown tools.

00:28:21.100 --> 00:28:22.400
<v Jack Ganssle>I mean, I've got to get a product at the door.

00:28:23.840 --> 00:28:24.500
<v Chris Gammell>Yeah, that's a good point.

00:28:24.960 --> 00:28:31.620
<v Chris Gammell>And I've found myself – I've looked for the most popular part.

00:28:31.740 --> 00:28:38.440
<v Chris Gammell>If that was the way that I could search by stuff, I want to find something that has the most Q&A in a forum somewhere.

00:28:38.440 --> 00:28:42.160
<v Chris Gammell>I want to have the most supporting people on it at a company.

00:28:42.520 --> 00:28:53.120
<v Chris Gammell>If I could find that and it's still a good price, that's where I'm going because that ultimately is – I don't want to find myself off in some corner case where they're like, oh, yeah, you have the ABC 123 part.

00:28:53.180 --> 00:28:53.860
<v Chris Gammell>Nobody uses that.

00:28:53.920 --> 00:28:54.500
<v Chris Gammell>You're the only one.

00:28:55.000 --> 00:28:55.840
<v Speaker ?>Oh, no.

00:28:56.180 --> 00:28:57.120
<v Chris Gammell>This is terrible.

00:28:58.180 --> 00:29:00.760
<v Jack Ganssle>We've seen this happen so many times.

00:29:00.760 --> 00:29:07.640
<v Jack Ganssle>The 196 from Intel, the great little part, but practically no one used it and it's completely obsolete.

00:29:07.860 --> 00:29:12.100
<v Jack Ganssle>And if you have a design with that, today you're in a pile of hurt.

00:29:12.740 --> 00:29:13.340
<v Chris Gammell>Yeah, right.

00:29:13.740 --> 00:29:15.740
<v Jack Ganssle>And it's sort of like the Windows battle.

00:29:16.320 --> 00:29:24.880
<v Jack Ganssle>We don't hear this so much anymore, but it used to be that engineers always spat on Windows and they thought Microsoft was the devil and whatnot.

00:29:25.220 --> 00:29:28.120
<v Jack Ganssle>But Microsoft is a safe bet.

00:29:28.120 --> 00:29:35.080
<v Jack Ganssle>In the olden days, in the 60s, the saying was, you'll never get fired for buying IBM.

00:29:35.820 --> 00:29:36.260
<v Jack Ganssle>That's right.

00:29:36.360 --> 00:29:36.480
<v Jack Ganssle>Yeah.

00:29:37.740 --> 00:29:39.260
<v Jack Ganssle>And it's kind of the same thing.

00:29:39.340 --> 00:29:40.580
<v Jack Ganssle>It's a safe choice.

00:29:41.360 --> 00:29:41.560
<v Chris Gammell>Yeah.

00:29:41.920 --> 00:29:42.120
<v Chris Gammell>Yeah.

00:29:42.280 --> 00:29:45.680
<v Chris Gammell>Well, and Windows or Microsoft in general is – boy, they took a right turn.

00:29:45.800 --> 00:29:49.000
<v Chris Gammell>Satya Nadella has been like doing some crazy stuff there.

00:29:49.080 --> 00:29:53.520
<v Chris Gammell>I mean like just all the open source stuff they're doing and like – I mean obviously they're focusing on the cloud a ton too.

00:29:53.520 --> 00:29:56.040
<v Chris Gammell>Obviously, I didn't know they bought Thread – what was it?

00:29:56.120 --> 00:29:56.220
<v Chris Gammell>Sorry.

00:29:56.800 --> 00:29:57.480
<v Chris Gammell>Express Logic.

00:29:57.480 --> 00:29:57.520
<v Chris Gammell>Express Logic.

00:29:58.060 --> 00:29:58.180
<v Chris Gammell>Yeah.

00:29:58.300 --> 00:29:58.540
<v Chris Gammell>Yeah.

00:29:59.380 --> 00:29:59.780
<v Chris Gammell>Yeah.

00:29:59.780 --> 00:30:00.780
<v Chris Gammell>It's really interesting.

00:30:01.480 --> 00:30:02.420
<v Jack Ganssle>Yeah, it is.

00:30:02.780 --> 00:30:05.940
<v Jack Ganssle>It's hard to really predict what's going to happen or what they're thinking.

00:30:06.120 --> 00:30:14.200
<v Jack Ganssle>But I think as embedded people, we better keep our ear to the ground because these guys are – Amazon and Microsoft, they're giants.

00:30:14.360 --> 00:30:16.240
<v Jack Ganssle>They can really shake up the market.

00:30:16.780 --> 00:30:17.400
<v Chris Gammell>Yeah, that's true.

00:30:17.700 --> 00:30:19.200
<v Chris Gammell>Actually, I did want to get your take on this too.

00:30:19.320 --> 00:30:20.880
<v Chris Gammell>So I'm Linux-based.

00:30:21.680 --> 00:30:30.420
<v Chris Gammell>And so that was part of my interesting reentrance into the embedded world as well where I was like, oh, I could do stuff with like command line and all these tools, whatever.

00:30:30.580 --> 00:30:32.940
<v Chris Gammell>And then I was like, oh, okay.

00:30:33.020 --> 00:30:36.960
<v Chris Gammell>Well, I guess embedded is still pretty Microsoft-focused, like Windows-focused rather.

00:30:36.960 --> 00:30:41.920
<v Chris Gammell>I mean, have you seen tool chains changing or more cross-platform type stuff?

00:30:42.600 --> 00:30:48.880
<v Jack Ganssle>I'm seeing more cross-platform stuff, but still Windows seems to be the home of most of the tools.

00:30:49.520 --> 00:30:54.260
<v Jack Ganssle>But more and more we see tools like the little Saley Logic Analyzer that everyone loves.

00:30:54.900 --> 00:30:57.500
<v Jack Ganssle>They have support for Linux, Mac, and Windows.

00:30:57.640 --> 00:30:58.680
<v Jack Ganssle>And that's pretty cool.

00:30:59.400 --> 00:30:59.500
<v Chris Gammell>Yeah.

00:30:59.500 --> 00:31:08.100
<v Chris Gammell>I've just always been amazed by it because like the thing about Windows-based development is like I get it from like tool sets and everything else.

00:31:08.200 --> 00:31:16.180
<v Chris Gammell>But like in terms of like accessing like just a serial port is like people – I still see people being like, oh, we'll use TerraTerm.

00:31:16.540 --> 00:31:20.020
<v Chris Gammell>I'm like TerraTerm looks like it's from the, you know, the 60s.

00:31:20.100 --> 00:31:23.320
<v Chris Gammell>I don't – like it's the worst interface to get to stuff.

00:31:23.320 --> 00:31:29.560
<v Chris Gammell>And then you come to like Linux and it's like, oh, yeah, use Screen, you know, and you just like access the serial port directly.

00:31:29.700 --> 00:31:30.420
<v Chris Gammell>It's like, oh, okay.

00:31:30.900 --> 00:31:32.040
<v Chris Gammell>That's more my style.

00:31:33.180 --> 00:31:33.360
<v Chris Gammell>Yeah.

00:31:33.640 --> 00:31:34.920
<v Jack Ganssle>I love Linux.

00:31:35.020 --> 00:31:36.060
<v Jack Ganssle>I use Linux every day.

00:31:36.300 --> 00:31:43.420
<v Jack Ganssle>But I'm mostly a Windows guy because I work with so many tools and documents and whatnot from the Windows community.

00:31:43.420 --> 00:31:53.480
<v Jack Ganssle>The thing with Linux is that – another old saying – with Linux you can do – or this is actually a Unix saying – with Unix you can do anything.

00:31:53.940 --> 00:31:55.700
<v Jack Ganssle>But to do anything you have to be an expert.

00:31:58.280 --> 00:31:59.100
<v Chris Gammell>Yeah, that sounds right.

00:31:59.160 --> 00:31:59.280
<v Chris Gammell>Yeah.

00:31:59.420 --> 00:32:05.560
<v Chris Gammell>I think it's getting better with like, you know, like if you're running like a standard, you know, the very, very popular type things like an Ubuntu or something like that.

00:32:05.860 --> 00:32:06.220
<v Chris Gammell>Sure.

00:32:06.340 --> 00:32:06.480
<v Chris Gammell>Yeah.

00:32:06.540 --> 00:32:12.460
<v Chris Gammell>It's still not – it's still not at the level of Windows or – I mean even Apple, I guess there's more tool sets now.

00:32:12.460 --> 00:32:13.460
<v Chris Gammell>So –

00:32:13.460 --> 00:32:19.780
<v Jack Ganssle>And, you know, one of the things I use Linux for all the time is the command line, bash command line.

00:32:19.960 --> 00:32:24.600
<v Jack Ganssle>Because, you know, my God, you string enough commands together, you can write a whole program without writing a program.

00:32:25.180 --> 00:32:25.520
<v Chris Gammell>Right.

00:32:25.920 --> 00:32:26.280
<v Chris Gammell>Exactly.

00:32:26.760 --> 00:32:26.980
<v Chris Gammell>Yeah.

00:32:27.000 --> 00:32:33.380
<v Chris Gammell>Well, I think that's like one of the big things about the new Windows subsystems, Linux subsystems for Windows or whatever it's called.

00:32:33.380 --> 00:32:38.380
<v Chris Gammell>Like that is another big move where like you can do bash commands within Windows now.

00:32:38.480 --> 00:32:39.300
<v Chris Gammell>It's like, oh, okay.

00:32:39.400 --> 00:32:40.040
<v Chris Gammell>That's kind of cool.

00:32:40.860 --> 00:32:41.860
<v Chris Gammell>But –

00:32:41.860 --> 00:32:41.920
<v Jack Ganssle>Yeah.

00:32:41.920 --> 00:32:44.640
<v Jack Ganssle>I've been using Sigwin for I don't know how long.

00:32:44.720 --> 00:32:48.660
<v Jack Ganssle>It's a great way of getting around the limitations of Windows.

00:32:49.360 --> 00:32:50.000
<v Jack Ganssle>Yeah.

00:32:50.360 --> 00:32:50.480
<v Speaker ?>Yeah.

00:32:50.920 --> 00:32:54.980
<v Jack Ganssle>I started one of Maryland's first ISPs back around 1991.

00:32:54.980 --> 00:32:59.600
<v Jack Ganssle>And we had an army of Unix machines, BSD machines.

00:33:00.600 --> 00:33:03.660
<v Jack Ganssle>And that was really my intro to Unix at that point.

00:33:03.920 --> 00:33:09.140
<v Jack Ganssle>And it really – you know, they're so powerful.

00:33:10.740 --> 00:33:17.060
<v Jack Ganssle>You can do so much under Unix, Linux that you just don't even want to think about trying under Windows.

00:33:17.060 --> 00:33:47.060
<v Chris Gammell>Uh- administered in administered in administered in administered in administered administered in administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered administered

00:33:47.060 --> 00:33:50.900
<v Jack Ganssle>Someone has to be able to rework it in case something goes wrong during manufacturing.

00:33:51.980 --> 00:34:05.060
<v Jack Ganssle>And the small lines, you know, I watched one of our technicians replace a lifted pad on a 4 millimeter pitch, I mean, 0.4 millimeter connector pad.

00:34:05.660 --> 00:34:08.840
<v Jack Ganssle>And it's just, I don't know how anybody can do anything that small.

00:34:09.180 --> 00:34:10.200
<v Chris Gammell>And I really don't know how to do that either.

00:34:10.200 --> 00:34:13.660
<v Chris Gammell>So I asked Wayne, how do you get better at doing such a small pitch component?

00:34:13.660 --> 00:34:22.420
<v Jack Ganssle>A lot of practice, really steady hands and knowing how to balance, you know, your hand on something to dampen any shakiness.

00:34:23.920 --> 00:34:27.180
<v Jack Ganssle>It's just, it's really amazing to watch that.

00:34:27.640 --> 00:34:29.320
<v Jack Ganssle>And big magnifiers as well.

00:34:29.680 --> 00:34:33.660
<v Jack Ganssle>They're surprisingly spartan with the flux.

00:34:34.140 --> 00:34:38.820
<v Jack Ganssle>If you use too much of it, then, you know, it can make the board pretty messy.

00:34:38.820 --> 00:34:44.580
<v Chris Gammell>And speaking of messes, I've definitely gotten myself into a place where I'm doing prototype stuff and then I quickly need to ramp to production.

00:34:44.900 --> 00:34:51.400
<v Chris Gammell>So I asked Wayne, what happens when I need to turn up the volume from one unit or five to 10 or 100?

00:34:52.500 --> 00:35:00.180
<v Jack Ganssle>Well, you know, the interesting thing is we, when we started the Screaming Circuits division, it was strictly for prototypes.

00:35:01.060 --> 00:35:03.160
<v Jack Ganssle>And Screaming Circuits would build the prototypes.

00:35:03.500 --> 00:35:07.820
<v Jack Ganssle>Milwaukee Electronics would build the scheduled production manufacturing.

00:35:07.820 --> 00:35:21.840
<v Jack Ganssle>What's happened in the intervening years is a lot of companies now can't really forecast, you know, they'll need 50 units and then they'll need 1,000 and then 100 and then nothing.

00:35:22.000 --> 00:35:23.160
<v Jack Ganssle>They're on to the next design.

00:35:23.860 --> 00:35:27.520
<v Jack Ganssle>People use Screaming Circuits for that type of on-demand manufacturing.

00:35:28.100 --> 00:35:34.480
<v Jack Ganssle>We've recognized that and we're putting some things in place to smooth that process along even more.

00:35:34.480 --> 00:35:41.680
<v Jack Ganssle>But that's an important part of the in-between, a prototype and contracted manufacturing.

00:35:42.800 --> 00:35:47.820
<v Jack Ganssle>You know, you start with building your prototypes and you build a few hundred on Screaming Circuits.

00:35:48.200 --> 00:35:51.520
<v Jack Ganssle>Then we start talking to you, hey, is this going to be a regular product?

00:35:51.700 --> 00:35:55.920
<v Jack Ganssle>Is this going to be something that you're going to be building over and over again?

00:35:56.160 --> 00:35:59.280
<v Jack Ganssle>See if it fits on our EMS lines.

00:35:59.280 --> 00:36:01.200
<v Jack Ganssle>We've also got engineering services.

00:36:01.460 --> 00:36:04.940
<v Jack Ganssle>We've got high-end layout services that can help folks make that transition.

00:36:05.180 --> 00:36:08.180
<v Jack Ganssle>We've got engineering resources within our company.

00:36:08.300 --> 00:36:09.820
<v Jack Ganssle>We don't have to contract that out.

00:36:10.340 --> 00:36:14.780
<v Chris Gammell>So if you're ready to take your design to the next level, check out ScreamingCircuits.com slash The Amp Hour.

00:36:15.240 --> 00:36:20.100
<v Chris Gammell>You'll get excellent hands-on care for both your rework and for taking your board to production.

00:36:20.480 --> 00:36:23.000
<v Chris Gammell>That's ScreamingCircuits.com slash The Amp Hour.

00:36:23.000 --> 00:36:25.720
<v Chris Gammell>And now we're back to the show.

00:36:27.360 --> 00:36:32.720
<v Chris Gammell>Well, speaking of other businesses you've started, you have a long-time teaching business.

00:36:33.000 --> 00:36:36.560
<v Chris Gammell>And I wanted to hear about how that's going in the age of COVID-19.

00:36:36.780 --> 00:36:38.900
<v Chris Gammell>I mean, what's been going on there?

00:36:39.780 --> 00:36:44.020
<v Jack Ganssle>Well, we're hunkered down and hiding out here in Finksburg, Maryland.

00:36:44.440 --> 00:36:47.840
<v Jack Ganssle>I've canceled all my travel for the foreseeable future.

00:36:47.840 --> 00:36:51.840
<v Jack Ganssle>And we were talking a little bit about this before we started recording.

00:36:52.040 --> 00:36:54.580
<v Jack Ganssle>But I'm getting up there.

00:36:54.660 --> 00:36:58.920
<v Jack Ganssle>I'm just shy of 67 and I'm not ready to retire.

00:36:59.220 --> 00:37:03.060
<v Jack Ganssle>But when I was 60, I thought, my God, I'll never retire.

00:37:03.180 --> 00:37:04.480
<v Jack Ganssle>This is such a fascinating feel.

00:37:05.100 --> 00:37:09.700
<v Jack Ganssle>And when I turned about 65, I started to realize, you know, I'm getting tired.

00:37:10.320 --> 00:37:11.760
<v Jack Ganssle>It's still a fascinating feel.

00:37:11.760 --> 00:37:20.720
<v Jack Ganssle>And so I cut back to fewer hours per week and cut back to just one trip, typically a trip to do a seminar a month.

00:37:21.380 --> 00:37:26.200
<v Jack Ganssle>And that's on hold now for, I don't know how long is this going to happen?

00:37:26.900 --> 00:37:29.160
<v Jack Ganssle>It's not a problem for me.

00:37:30.160 --> 00:37:38.480
<v Jack Ganssle>I worry so much about the other poor folks whose businesses and lives have been so disrupted by this horrible disease.

00:37:38.480 --> 00:37:41.440
<v Jack Ganssle>I mean, two of my kids have lost their jobs.

00:37:41.900 --> 00:37:42.100
<v Chris Gammell>Oh, wow.

00:37:42.240 --> 00:37:43.740
<v Jack Ganssle>We don't know what will happen.

00:37:43.840 --> 00:37:44.920
<v Jack Ganssle>But, you know, they're my kids.

00:37:45.000 --> 00:37:45.980
<v Jack Ganssle>They'll get taken care of.

00:37:46.180 --> 00:37:50.580
<v Jack Ganssle>But in terms of teaching, I'm not quite sure where it's going to go.

00:37:50.640 --> 00:37:54.000
<v Jack Ganssle>It's been sort of interesting having all this time on my hands.

00:37:54.140 --> 00:37:57.800
<v Jack Ganssle>And I'm trying to rethink where I might do this differently.

00:37:58.840 --> 00:38:00.540
<v Jack Ganssle>I love the embedded field.

00:38:00.680 --> 00:38:07.980
<v Jack Ganssle>And I want to be able to help engineers overcome some of the problems, so many of which are so widely shared.

00:38:08.480 --> 00:38:08.800
<v Chris Gammell>Yeah.

00:38:09.760 --> 00:38:18.140
<v Chris Gammell>So last I had heard about your training, you've always done like management style training was one of them, but also like just general firmware type training.

00:38:18.240 --> 00:38:19.920
<v Chris Gammell>Could you remind people what the training was?

00:38:20.400 --> 00:38:25.240
<v Jack Ganssle>Yeah, I do a class called Better Firmware Faster, and it's aimed at practicing engineers.

00:38:25.240 --> 00:38:26.860
<v Jack Ganssle>It's a one-day class.

00:38:26.860 --> 00:38:32.820
<v Jack Ganssle>And I do a public version a few times a year where we rent a hotel room and people come in from all over.

00:38:33.720 --> 00:38:39.800
<v Jack Ganssle>And I also do an on-site version, which I was doing three or four times a month all over the world.

00:38:39.800 --> 00:38:47.180
<v Jack Ganssle>And about a year, I cut that back to once a month in my semi-retirement mode that I've kind of drifted into.

00:38:47.840 --> 00:38:47.960
<v Chris Gammell>Right.

00:38:48.140 --> 00:38:48.280
<v Jack Ganssle>Yeah.

00:38:48.280 --> 00:38:57.140
<v Jack Ganssle>But the aim of that class is to show people better ways of creating code, firmware code, in a more efficient fashion.

00:38:58.060 --> 00:39:01.760
<v Jack Ganssle>And the reason I do this is I'm just passionate about it.

00:39:01.760 --> 00:39:06.140
<v Jack Ganssle>I see the way that we build firmware today is basically wrong.

00:39:06.960 --> 00:39:13.580
<v Jack Ganssle>We're still doing it the same way we were doing it 40 years ago, which is basically write some code and try to make it work somehow.

00:39:14.320 --> 00:39:19.540
<v Jack Ganssle>Instead of doing what the whole rest of the world has done, which is to focus on, for example, quality.

00:39:20.380 --> 00:39:20.440
<v Jack Ganssle>Yeah.

00:39:20.960 --> 00:39:24.140
<v Jack Ganssle>Quality changed everything about manufacturing.

00:39:24.140 --> 00:39:28.900
<v Jack Ganssle>And today you buy these products that are incredibly high.

00:39:29.380 --> 00:39:33.080
<v Jack Ganssle>I have a Prius or my previous Prius.

00:39:33.700 --> 00:39:34.980
<v Jack Ganssle>I took it into the dealer.

00:39:35.120 --> 00:39:39.140
<v Jack Ganssle>I watched we had 150,000 miles on it and said, you know, this has never been back.

00:39:39.280 --> 00:39:41.300
<v Jack Ganssle>Maybe do you need to do a tune-up or something?

00:39:42.220 --> 00:39:43.500
<v Jack Ganssle>And the guy said, what do you mean?

00:39:43.500 --> 00:39:43.900
<v Jack Ganssle>Do we still do that?

00:39:44.980 --> 00:39:47.440
<v Jack Ganssle>I see what he said, like replace the spark plugs or something.

00:39:47.600 --> 00:39:49.340
<v Jack Ganssle>He goes, well, if you want.

00:39:51.600 --> 00:39:52.980
<v Jack Ganssle>Compare that to years ago.

00:39:52.980 --> 00:39:55.920
<v Jack Ganssle>My first car was a 1966 VW Beetle.

00:39:56.420 --> 00:39:57.300
<v Jack Ganssle>Every 3,000 miles.

00:39:57.300 --> 00:39:57.740
<v Jack Ganssle>Oh, boy.

00:39:58.440 --> 00:40:00.500
<v Jack Ganssle>I adjust the valves every 3,000 miles.

00:40:00.600 --> 00:40:00.920
<v Jack Ganssle>That's right.

00:40:01.160 --> 00:40:01.340
<v Jack Ganssle>Right.

00:40:01.760 --> 00:40:03.780
<v Jack Ganssle>Every 10,000 miles, the doors just fall off for no reason.

00:40:05.740 --> 00:40:08.720
<v Jack Ganssle>But that's what changed in manufacturing.

00:40:08.920 --> 00:40:09.860
<v Jack Ganssle>The focus on quality.

00:40:10.080 --> 00:40:11.840
<v Jack Ganssle>And we need to do the same thing in firmware.

00:40:12.100 --> 00:40:19.280
<v Jack Ganssle>And I've got gobs of data here that shows that if you focus on quality, the product gets done faster.

00:40:20.320 --> 00:40:20.520
<v Chris Gammell>Yeah.

00:40:20.520 --> 00:40:20.560
<v Chris Gammell>Yeah.

00:40:20.880 --> 00:40:26.500
<v Chris Gammell>So what is the, could you give us an example of what is lacking in terms of quality for firmware?

00:40:26.840 --> 00:40:29.700
<v Chris Gammell>Because like I said, I've been writing more firmware and I'm sure it's very low quality.

00:40:29.700 --> 00:40:32.540
<v Chris Gammell>So I can give you a good, I can give you a good test case.

00:40:32.960 --> 00:40:35.780
<v Chris Gammell>Hopefully, you know, it works eventually, you know, but it's like, yeah.

00:40:35.780 --> 00:40:42.640
<v Jack Ganssle>Well, you know, the average team spends 50% of the schedule on debugging.

00:40:43.520 --> 00:40:43.920
<v Jack Ganssle>Wow.

00:40:44.240 --> 00:40:47.200
<v Jack Ganssle>To me, what that means is the other 50% is bugging.

00:40:47.200 --> 00:40:50.060
<v Jack Ganssle>If we could reduce the bugging.

00:40:50.180 --> 00:40:55.140
<v Jack Ganssle>And what I mean by that is going to be everything from getting the requirements right.

00:40:55.360 --> 00:40:56.820
<v Jack Ganssle>They'll never be perfect.

00:40:57.380 --> 00:40:57.760
<v Jack Ganssle>Sure.

00:40:57.960 --> 00:40:59.120
<v Jack Ganssle>But it's hard to get them right.

00:40:59.240 --> 00:41:00.740
<v Jack Ganssle>And as a result, we often abdicate.

00:41:01.620 --> 00:41:05.740
<v Jack Ganssle>Getting the design right or as close to right as can be possible.

00:41:06.340 --> 00:41:07.740
<v Jack Ganssle>And people complain.

00:41:07.840 --> 00:41:10.540
<v Jack Ganssle>They say, but it's so expensive to get a design right.

00:41:10.540 --> 00:41:16.500
<v Jack Ganssle>And my response is, well, yeah, it's expensive, but bad design costs even more.

00:41:17.040 --> 00:41:17.380
<v Chris Gammell>That's right.

00:41:17.480 --> 00:41:17.980
<v Chris Gammell>That's right.

00:41:18.220 --> 00:41:18.500
<v Chris Gammell>Yeah.

00:41:19.460 --> 00:41:22.840
<v Chris Gammell>That's a lot of focus on medical stuff right now because of COVID, obviously.

00:41:23.000 --> 00:41:26.060
<v Chris Gammell>But like, you know, they're talking about like, like ventilators and stuff like that.

00:41:26.080 --> 00:41:33.200
<v Chris Gammell>And it's like the hidden cost there, of course, is like certification, but then just hours and hours and hours of testing and getting stuff just perfect.

00:41:33.340 --> 00:41:35.720
<v Chris Gammell>Because it has to be, you know, you're forcing an error to someone's lungs.

00:41:36.120 --> 00:41:36.420
<v Jack Ganssle>That's crazy.

00:41:36.420 --> 00:41:37.580
<v Jack Ganssle>It has to be.

00:41:37.780 --> 00:41:40.460
<v Jack Ganssle>And there's a lot of work being done on open source ventilators.

00:41:40.540 --> 00:41:41.780
<v Jack Ganssle>Today, by the community.

00:41:42.340 --> 00:41:43.740
<v Jack Ganssle>And I admire them for that.

00:41:44.460 --> 00:41:51.780
<v Jack Ganssle>I fear that they don't understand exactly what you're saying is getting the stuff qualified, certified and right.

00:41:52.580 --> 00:41:52.680
<v Jack Ganssle>Yeah.

00:41:53.100 --> 00:41:53.300
<v Jack Ganssle>Yeah.

00:41:53.700 --> 00:41:55.000
<v Jack Ganssle>You know, you make one mistake.

00:41:55.320 --> 00:41:56.920
<v Jack Ganssle>How many deaths do you want in your hands?

00:41:57.480 --> 00:41:57.880
<v Chris Gammell>Right.

00:41:58.080 --> 00:41:58.740
<v Chris Gammell>Yeah, exactly.

00:41:58.900 --> 00:42:03.220
<v Chris Gammell>I mean, this is stuff that medical teams have been dealing with for years and years.

00:42:03.340 --> 00:42:03.500
<v Chris Gammell>Right.

00:42:03.920 --> 00:42:04.120
<v Jack Ganssle>Yeah.

00:42:04.700 --> 00:42:04.940
<v Jack Ganssle>Yeah.

00:42:05.420 --> 00:42:08.300
<v Jack Ganssle>And a ventilator is a pretty complex piece of equipment.

00:42:08.300 --> 00:42:09.720
<v Jack Ganssle>It doesn't look like much.

00:42:09.820 --> 00:42:13.580
<v Jack Ganssle>But once you figure out, I mean, you have to adjust pressures and this and that.

00:42:13.700 --> 00:42:16.540
<v Jack Ganssle>And I mean, every patient wants a different set of therapies.

00:42:17.080 --> 00:42:18.980
<v Jack Ganssle>This is non-trivial stuff.

00:42:20.380 --> 00:42:20.540
<v Chris Gammell>Yeah.

00:42:20.540 --> 00:42:20.620
<v Chris Gammell>Yeah.

00:42:20.820 --> 00:42:29.420
<v Chris Gammell>So, and when you say, like, you're talking about, like, quality, but, like, how do you define that?

00:42:29.460 --> 00:42:32.840
<v Chris Gammell>It's just like, sorry, on the, you were saying the design, rather.

00:42:33.060 --> 00:42:34.960
<v Chris Gammell>The design was the word that I was blocking in.

00:42:34.960 --> 00:42:38.760
<v Chris Gammell>You said the design is not, like, solidified or not ready.

00:42:39.160 --> 00:42:42.640
<v Chris Gammell>Do you mean, like, the hardware design, the firmware design, or, like, the ultimate system goal?

00:42:42.740 --> 00:42:43.420
<v Chris Gammell>Or what do you mean by that?

00:42:44.020 --> 00:42:45.520
<v Jack Ganssle>All of the above.

00:42:46.100 --> 00:42:49.760
<v Jack Ganssle>In other words, I tend to be very strong on this.

00:42:49.760 --> 00:43:00.780
<v Jack Ganssle>I think that we should know where we're going before we start going there and have a very clear idea of what we're trying to build, fairly well documented.

00:43:01.360 --> 00:43:06.060
<v Jack Ganssle>And then the implementation then becomes much less of a problem.

00:43:06.060 --> 00:43:12.760
<v Jack Ganssle>The biggest mistake I see people make is to jump into coding too fast.

00:43:13.520 --> 00:43:21.460
<v Jack Ganssle>You know, the best engineer I ever had working for me would sit in his office for weeks with his feet on his desk, staring at the ceiling.

00:43:22.240 --> 00:43:25.200
<v Jack Ganssle>And what he was doing was designing the thing in his head.

00:43:25.700 --> 00:43:29.480
<v Jack Ganssle>And once he had it right, he would sit down and just take dictation, just type in the code.

00:43:30.080 --> 00:43:30.860
<v Jack Ganssle>And it would always work.

00:43:33.020 --> 00:43:34.580
<v Jack Ganssle>And it's very hard.

00:43:34.580 --> 00:43:37.060
<v Jack Ganssle>You know, the boss says, I want to see you writing code.

00:43:38.340 --> 00:43:38.780
<v Jack Ganssle>Right, yeah.

00:43:39.620 --> 00:43:43.240
<v Jack Ganssle>And when it comes to this stuff, small systems don't need much design.

00:43:43.320 --> 00:43:45.040
<v Jack Ganssle>You can just jump in and code for sure.

00:43:45.100 --> 00:43:47.300
<v Jack Ganssle>When you're talking a thousand lines of code, that's no big deal.

00:43:47.840 --> 00:43:51.220
<v Jack Ganssle>But so many systems today are hundreds of thousands or millions of lines.

00:43:51.520 --> 00:44:00.360
<v Jack Ganssle>And I tell you, I've seen so many, some incredible catastrophes because they didn't really know what it is they were trying to build.

00:44:01.000 --> 00:44:01.400
<v Chris Gammell>Yeah.

00:44:01.400 --> 00:44:01.460
<v Chris Gammell>Yeah.

00:44:01.580 --> 00:44:04.520
<v Chris Gammell>So the engineer is sitting with his feet on the desk and designing.

00:44:04.680 --> 00:44:06.060
<v Chris Gammell>Is he designing a block diagram?

00:44:06.240 --> 00:44:13.380
<v Chris Gammell>Is he designing like modules or like, you know, like, like how granular is that design that you think about?

00:44:13.380 --> 00:44:18.320
<v Jack Ganssle>Well, this guy, Fred, would start with a block diagram and work down to the functional level.

00:44:18.480 --> 00:44:27.880
<v Jack Ganssle>At which point he would be writing, making notes on his desk about functionally, how things are going to interact, what APIs are going to be of functions and whatnot.

00:44:28.280 --> 00:44:36.060
<v Jack Ganssle>But he had it almost to the point of a schematic diagram before he would actually start writing code.

00:44:36.060 --> 00:44:36.260
<v Jack Ganssle>Okay.

00:44:37.700 --> 00:44:40.240
<v Jack Ganssle>And so it was, it was pretty detailed.

00:44:41.620 --> 00:44:42.340
<v Chris Gammell>Yeah, that's great.

00:44:42.400 --> 00:44:42.780
<v Chris Gammell>I mean, it's great.

00:44:42.840 --> 00:44:46.520
<v Chris Gammell>I guess I'm going to ask, what do you think of agile?

00:44:49.040 --> 00:44:49.440
<v Jack Ganssle>Yeah.

00:44:49.620 --> 00:44:55.560
<v Jack Ganssle>Well, I guess he can guess, but I think that the, the agile people have come up with some brilliant stuff.

00:44:55.560 --> 00:44:57.640
<v Jack Ganssle>I really admire a lot of things that they're doing.

00:44:57.820 --> 00:45:01.320
<v Jack Ganssle>Their focus on tests is absolutely world class.

00:45:02.100 --> 00:45:06.880
<v Jack Ganssle>Some of the agile people deprecate design, which drives me crazy.

00:45:07.700 --> 00:45:13.420
<v Jack Ganssle>There's a great book called agile with an exclamation point by Bertrand Meyer.

00:45:13.640 --> 00:45:21.480
<v Jack Ganssle>And he does, I think, a pretty fair job of saying what the good stuff is about it, what the bad stuff is about it, what the hype is about it.

00:45:21.480 --> 00:45:26.380
<v Jack Ganssle>And I think that there's a lot we can learn from agile, but we have to be careful.

00:45:26.720 --> 00:45:29.560
<v Jack Ganssle>Test-driven development drives me bonkers.

00:45:30.460 --> 00:45:35.520
<v Jack Ganssle>The fact that you would, I mean, so seriously cut back on design.

00:45:36.580 --> 00:45:44.700
<v Jack Ganssle>Matter of fact, I think the Kent Beck book, he talks about doing, using TDD to implement a factorial program.

00:45:44.700 --> 00:45:49.860
<v Jack Ganssle>And he has about 60 permutations before he finally gets the program right.

00:45:50.300 --> 00:45:53.900
<v Jack Ganssle>Because you start off with factorial one, write a test.

00:45:54.120 --> 00:45:55.260
<v Jack Ganssle>The factorial one is one.

00:45:56.380 --> 00:45:57.060
<v Jack Ganssle>Everything's fine.

00:45:57.460 --> 00:45:58.400
<v Jack Ganssle>Otherwise fail.

00:45:58.860 --> 00:46:00.900
<v Jack Ganssle>So the, obviously the code is return one.

00:46:03.640 --> 00:46:05.340
<v Jack Ganssle>And I think that that's sort of naive.

00:46:05.340 --> 00:46:06.840
<v Chris Gammell>Got it.

00:46:07.020 --> 00:46:21.400
<v Chris Gammell>So, yeah, that's interesting thing is, do you think that that's tied, I mean, it feels like it's kind of smashing more like web kind of software technologies down towards firmware and, you know, tangible type of things like firmware does.

00:46:21.700 --> 00:46:22.780
<v Chris Gammell>Is that the disconnect?

00:46:22.980 --> 00:46:30.580
<v Chris Gammell>I mean, or is it, or do you think that like a web technology might actually also benefit from a more design perspective?

00:46:30.580 --> 00:46:35.780
<v Jack Ganssle>I won't pretend to know a whole lot about web design, so I couldn't say.

00:46:36.400 --> 00:46:40.800
<v Jack Ganssle>There's another book by Barry Beam, Balancing Agility and something other.

00:46:41.460 --> 00:46:43.040
<v Jack Ganssle>I don't remember exactly what it is.

00:46:43.040 --> 00:46:43.620
<v Chris Gammell>Okay, I'll look it up.

00:46:43.740 --> 00:46:44.140
<v Chris Gammell>Yeah, yeah.

00:46:44.200 --> 00:46:52.260
<v Jack Ganssle>But he identifies five parameters and that help you decide where the agile approaches make the most sense versus the traditional methods.

00:46:53.100 --> 00:46:55.640
<v Jack Ganssle>And I think that's a very fair way of doing it.

00:46:55.660 --> 00:46:58.480
<v Jack Ganssle>Not every problem needs the same kind of hammer.

00:46:58.480 --> 00:47:00.060
<v Jack Ganssle>There's different tools are being used.

00:47:00.060 --> 00:47:00.360
<v Jack Ganssle>Oh, yeah.

00:47:00.360 --> 00:47:01.080
<v Jack Ganssle>There's different kinds of problems.

00:47:01.700 --> 00:47:01.840
<v Chris Gammell>Yeah.

00:47:02.380 --> 00:47:04.720
<v Jack Ganssle>So, yeah, I think it does make a difference.

00:47:04.800 --> 00:47:11.460
<v Jack Ganssle>And I know some embedded teams that are using agile incredibly successfully.

00:47:12.120 --> 00:47:17.760
<v Jack Ganssle>But the trick there is they use it with a religious discipline.

00:47:18.060 --> 00:47:21.560
<v Jack Ganssle>I mean, this is not the agile that most people see.

00:47:21.820 --> 00:47:22.680
<v Jack Ganssle>Right, right.

00:47:22.680 --> 00:47:25.240
<v Jack Ganssle>All too often I see companies, they'll tell me they're agile.

00:47:25.240 --> 00:47:29.260
<v Jack Ganssle>And if I look under the hood, it really means it's just total chaos.

00:47:29.260 --> 00:47:29.300
<v Jack Ganssle>Yes.

00:47:29.700 --> 00:47:31.000
<v Chris Gammell>Well, we stand during our meetings.

00:47:31.000 --> 00:47:31.780
<v Chris Gammell>So, you know.

00:47:31.960 --> 00:47:32.280
<v Chris Gammell>Yeah.

00:47:32.680 --> 00:47:33.440
<v Chris Gammell>There you go.

00:47:36.020 --> 00:47:36.420
<v Chris Gammell>Yeah.

00:47:36.540 --> 00:47:37.760
<v Chris Gammell>That's a good point.

00:47:37.920 --> 00:47:41.980
<v Chris Gammell>And so it's kind of like how rigorous you are in your development regardless, right?

00:47:42.020 --> 00:47:42.820
<v Chris Gammell>It could be testing.

00:47:42.820 --> 00:47:46.900
<v Chris Gammell>It could be how you design your processes and stuff like that.

00:47:46.900 --> 00:47:50.280
<v Chris Gammell>Or it could be how well you block diagram and piece everything out.

00:47:51.040 --> 00:47:52.980
<v Jack Ganssle>You know, that's exactly the right word.

00:47:52.980 --> 00:47:54.940
<v Jack Ganssle>And I use this a lot.

00:47:55.040 --> 00:47:55.940
<v Jack Ganssle>It's about discipline.

00:47:57.620 --> 00:47:59.200
<v Jack Ganssle>Software engineering is not an art.

00:47:59.960 --> 00:48:01.080
<v Jack Ganssle>It's engineering.

00:48:01.920 --> 00:48:04.000
<v Jack Ganssle>And engineering is about measuring things.

00:48:04.860 --> 00:48:13.520
<v Jack Ganssle>Engineering is, I always say, it's predicting what you want it to do, making it do it, and then measuring it to see if it does what it's supposed to do.

00:48:13.520 --> 00:48:13.680
<v Jack Ganssle>Right.

00:48:14.360 --> 00:48:14.620
<v Jack Ganssle>Right.

00:48:14.620 --> 00:48:19.100
<v Jack Ganssle>And I think that has to be practiced with a considerable rigor.

00:48:20.120 --> 00:48:23.260
<v Jack Ganssle>And that doesn't mean it's taking any of the fun or creativity out of it.

00:48:23.340 --> 00:48:34.680
<v Jack Ganssle>It just means holding developers accountable to follow the process, whatever it may be, because different processes are needed religiously.

00:48:34.680 --> 00:48:35.080
<v Speaker ?>Yeah.

00:48:35.880 --> 00:48:36.120
<v Chris Gammell>Yeah.

00:48:36.500 --> 00:48:36.720
<v Chris Gammell>Yeah.

00:48:37.280 --> 00:48:44.980
<v Jack Ganssle>And I sound like, I know I sound like a processed Nazi, but this is, I've been doing this for almost 50 years.

00:48:45.200 --> 00:48:48.640
<v Jack Ganssle>And I've seen what works and what doesn't work.

00:48:49.240 --> 00:48:49.520
<v Chris Gammell>Yeah.

00:48:49.560 --> 00:48:51.320
<v Chris Gammell>Well, let's get some, let's get some war stories here, Jack.

00:48:51.360 --> 00:48:51.580
<v Chris Gammell>Come on.

00:48:51.620 --> 00:48:52.660
<v Chris Gammell>Let's, let's get the good stuff.

00:48:53.660 --> 00:48:54.480
<v Jack Ganssle>Well, I was working.

00:48:54.480 --> 00:48:55.900
<v Chris Gammell>How about some spectacular failures?

00:48:55.900 --> 00:48:57.100
<v Jack Ganssle>That would be a great way to start.

00:48:57.960 --> 00:49:01.600
<v Jack Ganssle>I'll have to not use any.

00:49:02.160 --> 00:49:03.860
<v Jack Ganssle>Change the names for all those involved, right?

00:49:03.860 --> 00:49:04.080
<v Jack Ganssle>Yes.

00:49:04.680 --> 00:49:14.540
<v Jack Ganssle>But I was involved with one company over the last year or so that makes a medical device, has to be certified to very high standards.

00:49:14.740 --> 00:49:16.620
<v Jack Ganssle>If something goes wrong, the patient dies.

00:49:17.280 --> 00:49:26.420
<v Jack Ganssle>And they have had a series of never ending problems to the point where the FDA is investigating.

00:49:26.740 --> 00:49:27.540
<v Jack Ganssle>Oh no.

00:49:27.860 --> 00:49:29.420
<v Jack Ganssle>Giving them tremendous trouble.

00:49:29.520 --> 00:49:30.960
<v Jack Ganssle>It's costing them millions of dollars.

00:49:31.280 --> 00:49:31.360
<v Jack Ganssle>Yeah.

00:49:31.360 --> 00:49:31.600
<v Jack Ganssle>Yeah.

00:49:31.600 --> 00:49:31.780
<v Jack Ganssle>Yeah.

00:49:31.780 --> 00:49:38.740
<v Jack Ganssle>Every time they do a release of this device, which is quite large, it takes three months to get it through the qualification process.

00:49:38.740 --> 00:49:42.080
<v Jack Ganssle>So you make a one line change to the code and you want to do a release.

00:49:42.220 --> 00:49:43.360
<v Jack Ganssle>It's a three month cycle.

00:49:43.360 --> 00:49:49.740
<v Jack Ganssle>And I looked into the processes and there was no design at all.

00:49:50.400 --> 00:49:51.620
<v Jack Ganssle>And I asked why.

00:49:51.740 --> 00:49:57.680
<v Jack Ganssle>And they said, well, we don't really understand the mechanical interaction with things.

00:49:57.680 --> 00:50:03.040
<v Jack Ganssle>We have to have a domain expert actually writing code and playing with it to figure out what's supposed to happen.

00:50:03.040 --> 00:50:06.320
<v Jack Ganssle>And then once it seems to work right, then we lock down the code.

00:50:07.200 --> 00:50:12.560
<v Jack Ganssle>And that says to me that what they're mixing up is research and development.

00:50:13.640 --> 00:50:16.260
<v Jack Ganssle>You know, we use this word R&D all the time.

00:50:16.320 --> 00:50:17.140
<v Jack Ganssle>There's no such thing.

00:50:17.700 --> 00:50:20.360
<v Jack Ganssle>There's research and there's development.

00:50:20.360 --> 00:50:21.200
<v Chris Gammell>Yeah.

00:50:21.360 --> 00:50:21.580
<v Chris Gammell>Yeah.

00:50:21.580 --> 00:50:21.840
<v Chris Gammell>Yeah.

00:50:21.840 --> 00:50:26.320
<v Chris Gammell>My old boss used to say that an engineering company I was at, it was little R big D.

00:50:26.640 --> 00:50:27.880
<v Chris Gammell>It was like we were development mostly.

00:50:28.040 --> 00:50:31.120
<v Chris Gammell>You know, we try some new things once in a while, but mostly we're just getting things out the door.

00:50:31.240 --> 00:50:32.960
<v Chris Gammell>You know, we're not like trying to invent something new here.

00:50:33.260 --> 00:50:34.080
<v Chris Gammell>We're not Bell Labs.

00:50:34.080 --> 00:50:40.840
<v Jack Ganssle>If you're mixing up the two, then you're just not going to get a good product out the door.

00:50:40.960 --> 00:50:43.280
<v Jack Ganssle>You do the research, you figure out what it is you're trying to do.

00:50:43.340 --> 00:50:44.640
<v Jack Ganssle>And we all have to do that.

00:50:45.080 --> 00:50:48.560
<v Jack Ganssle>You know, you're using the 80-50 only with simple peripherals.

00:50:48.660 --> 00:50:54.180
<v Jack Ganssle>You go to a part like an OMAP part from TI with 10,000 control registers.

00:50:54.700 --> 00:50:57.840
<v Jack Ganssle>You know, there's some research there to figure out how to make that silly thing work.

00:50:58.000 --> 00:50:58.260
<v Chris Gammell>That's right.

00:50:58.460 --> 00:50:58.820
<v Chris Gammell>That's right.

00:50:59.040 --> 00:50:59.180
<v Chris Gammell>Yeah.

00:50:59.220 --> 00:51:03.120
<v Chris Gammell>And you can't just guess at it if it's controlling something that could impact someone's life.

00:51:03.120 --> 00:51:03.560
<v Chris Gammell>Yeah.

00:51:03.560 --> 00:51:06.880
<v Jack Ganssle>And once you figure it out, you get the research down.

00:51:07.280 --> 00:51:10.020
<v Jack Ganssle>Then you turn it into some beautiful maintainable code.

00:51:10.800 --> 00:51:11.240
<v Chris Gammell>Interesting.

00:51:11.500 --> 00:51:11.680
<v Chris Gammell>Okay.

00:51:11.780 --> 00:51:15.160
<v Chris Gammell>So it's like kind of parsing it out into different processes.

00:51:15.780 --> 00:51:23.380
<v Chris Gammell>It's like you're almost saying that they should throw it over the wall, but, you know, like it's like a defined throw it over the wall kind of thing.

00:51:23.960 --> 00:51:26.100
<v Jack Ganssle>Throw it all over the wall and then throw it away.

00:51:26.940 --> 00:51:27.640
<v Chris Gammell>Ah, interesting.

00:51:28.040 --> 00:51:28.260
<v Jack Ganssle>Okay.

00:51:28.260 --> 00:51:30.640
<v Jack Ganssle>And you can't do that for the whole system, obviously.

00:51:30.640 --> 00:51:35.160
<v Jack Ganssle>But the unknown parts, the parts where you actually really don't know what you're doing.

00:51:35.580 --> 00:51:35.780
<v Jack Ganssle>Yeah.

00:51:35.860 --> 00:51:37.000
<v Jack Ganssle>You do horrible things.

00:51:37.100 --> 00:51:37.500
<v Jack Ganssle>And it's okay.

00:51:37.560 --> 00:51:38.580
<v Jack Ganssle>You do horrible things.

00:51:38.580 --> 00:51:46.960
<v Jack Ganssle>But then you realize if you build a printed circuit board, you build a board, you cover it with like a thousand green wires to make the stupid thing work.

00:51:47.600 --> 00:51:48.520
<v Jack Ganssle>And that's fine.

00:51:48.740 --> 00:51:50.580
<v Jack Ganssle>But then you do the most important thing of all.

00:51:50.720 --> 00:51:53.860
<v Jack Ganssle>You throw the board away and you re-engineer it to get rid of the wires.

00:51:54.700 --> 00:51:54.800
<v Chris Gammell>Yeah.

00:51:54.800 --> 00:51:56.720
<v Chris Gammell>That's a great analogy.

00:51:56.860 --> 00:51:56.960
<v Chris Gammell>Yeah.

00:51:57.060 --> 00:52:02.640
<v Chris Gammell>Because you wouldn't, yeah, you wouldn't go and like be like, well, now we have to make a thousand of these and get your solder herons hot boys.

00:52:03.360 --> 00:52:04.440
<v Chris Gammell>We've got some work to do.

00:52:04.840 --> 00:52:05.740
<v Chris Gammell>You know, like, oh boy.

00:52:06.240 --> 00:52:06.600
<v Chris Gammell>Exactly.

00:52:07.040 --> 00:52:07.400
<v Chris Gammell>Exactly.

00:52:09.340 --> 00:52:17.540
<v Jack Ganssle>I do remember back in the day, we thought all we had were two layer boards and there'd be some tracks you just couldn't route.

00:52:17.540 --> 00:52:21.160
<v Jack Ganssle>And so you had to put the green wires on, but those days are long gone.

00:52:22.060 --> 00:52:22.240
<v Chris Gammell>Mm-hmm.

00:52:22.560 --> 00:52:22.760
<v Chris Gammell>Yep.

00:52:23.940 --> 00:52:26.480
<v Chris Gammell>Well, that's, so then how about the opposite ends?

00:52:26.500 --> 00:52:29.180
<v Chris Gammell>That's a great poor story, I think, of what didn't go well.

00:52:29.220 --> 00:52:36.100
<v Chris Gammell>But what's like a company that does it like super, you mentioned the agile one, but maybe just the general, like a company that you've seen that's just like really rocking it.

00:52:36.160 --> 00:52:37.600
<v Chris Gammell>And what is like special about them?

00:52:37.620 --> 00:52:38.320
<v Chris Gammell>What are they doing right?

00:52:39.480 --> 00:52:42.660
<v Jack Ganssle>You know, what's special about them is there's a couple of things.

00:52:42.660 --> 00:52:48.480
<v Jack Ganssle>First of all, all the engineers have bought into the fact that we are going to get it right.

00:52:49.240 --> 00:52:49.400
<v Jack Ganssle>Okay.

00:52:49.460 --> 00:52:51.220
<v Jack Ganssle>And yes, we'll make mistakes.

00:52:51.460 --> 00:52:52.660
<v Jack Ganssle>Everyone makes mistakes.

00:52:52.900 --> 00:52:57.480
<v Jack Ganssle>But our first goal is we are going to do everything we can to get it right.

00:52:58.500 --> 00:53:01.860
<v Chris Gammell>And when you say, sorry, when you say get it right, you mean the process or you mean the end product?

00:53:02.180 --> 00:53:05.600
<v Jack Ganssle>It starts with the process and that creates an end product.

00:53:06.280 --> 00:53:07.160
<v Jack Ganssle>I'll give you an example.

00:53:07.760 --> 00:53:08.640
<v Jack Ganssle>Space shuttle code.

00:53:09.380 --> 00:53:10.640
<v Jack Ganssle>Best code ever written.

00:53:10.640 --> 00:53:13.720
<v Jack Ganssle>They averaged one bug per 400,000 lines of code.

00:53:14.180 --> 00:53:14.620
<v Jack Ganssle>Wow.

00:53:14.620 --> 00:53:15.460
<v Jack Ganssle>They got it right.

00:53:16.080 --> 00:53:16.360
<v Jack Ganssle>Okay.

00:53:16.460 --> 00:53:20.080
<v Jack Ganssle>They did spend a lot of money because that was a very unusual application.

00:53:20.960 --> 00:53:28.740
<v Jack Ganssle>But I see those kinds of companies, sometimes in the medical field, typically as a company that's been burnt pretty badly.

00:53:29.320 --> 00:53:33.000
<v Jack Ganssle>They brought in some exec who shakes up everything.

00:53:33.360 --> 00:53:35.560
<v Jack Ganssle>There's probably a couple of dramatic firings.

00:53:35.560 --> 00:53:46.420
<v Jack Ganssle>There's an evangelist who preaches and shows and demonstrates and cajoles the engineers into a different kind of mindset.

00:53:46.940 --> 00:53:48.340
<v Jack Ganssle>Give you an example.

00:53:48.580 --> 00:53:49.740
<v Jack Ganssle>I can't use the name of the company.

00:53:50.100 --> 00:53:50.340
<v Chris Gammell>Sure.

00:53:50.580 --> 00:53:50.700
<v Chris Gammell>Yeah.

00:53:50.700 --> 00:53:57.120
<v Jack Ganssle>This company has a product that you know, a software, a firmware product.

00:53:58.060 --> 00:54:02.720
<v Jack Ganssle>They only hire engineers right from college.

00:54:03.920 --> 00:54:07.360
<v Jack Ganssle>And the reason is they haven't been polluted by bad practices.

00:54:07.360 --> 00:54:08.280
<v Jack Ganssle>Yeah.

00:54:08.420 --> 00:54:16.020
<v Jack Ganssle>And the interesting thing to me is what these folks tell me is that, of course, some of their people move on to different companies over time.

00:54:16.560 --> 00:54:21.800
<v Jack Ganssle>And they typically are shocked by what they see their new employers are doing.

00:54:21.800 --> 00:54:28.940
<v Jack Ganssle>So, that's, again, an example where there's discipline, rigor.

00:54:30.260 --> 00:54:32.300
<v Jack Ganssle>There's a process that's getting followed.

00:54:32.980 --> 00:54:34.760
<v Jack Ganssle>The quality of the code is high.

00:54:35.880 --> 00:54:38.400
<v Chris Gammell>So, is it like a part of the process reviewing as well?

00:54:38.540 --> 00:54:46.740
<v Chris Gammell>Or like what are the best individual firmware engineers like subjected to when they are in a highly optimized process?

00:54:47.820 --> 00:54:48.100
<v Jack Ganssle>Okay.

00:54:48.120 --> 00:54:49.800
<v Jack Ganssle>Well, we've talked about design and requirements.

00:54:50.520 --> 00:54:51.440
<v Jack Ganssle>So, I'll move on from there.

00:54:51.800 --> 00:54:55.400
<v Jack Ganssle>From there, code review, hugely important.

00:54:55.620 --> 00:54:57.380
<v Jack Ganssle>We have a ton of data about this.

00:54:58.000 --> 00:55:02.340
<v Jack Ganssle>You know, good code reviews are the cheapest way of getting quality code that you can get.

00:55:03.320 --> 00:55:05.240
<v Jack Ganssle>Code gets reviewed before it's ever tested.

00:55:05.880 --> 00:55:07.900
<v Jack Ganssle>It goes through a formal review process.

00:55:08.340 --> 00:55:14.240
<v Jack Ganssle>Michael Fagan invented a process in 1976, which has been shown to work brilliantly.

00:55:15.320 --> 00:55:20.260
<v Jack Ganssle>What I tell people is if they can put in a perfect layer of code reviews,

00:55:20.260 --> 00:55:23.160
<v Jack Ganssle>they're going to be very disappointed with what they find.

00:55:23.320 --> 00:55:25.740
<v Jack Ganssle>They're not going to find the bugs because they're not there.

00:55:25.740 --> 00:55:32.700
<v Chris Gammell>Because people know that it's coming and they're going to like prepare for it and be more rigorous kind of thing.

00:55:32.900 --> 00:55:34.580
<v Jack Ganssle>They work harder at getting it right.

00:55:35.240 --> 00:55:36.180
<v Jack Ganssle>And that's what we want.

00:55:37.220 --> 00:55:44.340
<v Jack Ganssle>Contrast that to the way most of us operate where we write some code and then we test it and test it and fix bugs and test it.

00:55:44.340 --> 00:55:49.740
<v Jack Ganssle>But we learn from the quality movement that you can't test quality into a product.

00:55:49.840 --> 00:55:50.660
<v Jack Ganssle>You really can't.

00:55:51.360 --> 00:55:53.220
<v Jack Ganssle>You need to design it in from the beginning.

00:55:53.900 --> 00:55:58.340
<v Jack Ganssle>So, as code reviews, there's working to a firmware standard.

00:55:59.400 --> 00:56:05.700
<v Jack Ganssle>In my experience, it's impossible to consistently deliver world-class code unless it's done to a standard.

00:56:05.700 --> 00:56:09.980
<v Jack Ganssle>We fight over things like indentation, phrase placement.

00:56:10.840 --> 00:56:11.260
<v Jack Ganssle>Sure, sure.

00:56:11.300 --> 00:56:12.100
<v Jack Ganssle>None of that stuff matters.

00:56:12.200 --> 00:56:14.560
<v Jack Ganssle>What does matter is that it's all done the same way.

00:56:15.480 --> 00:56:20.760
<v Jack Ganssle>And we have some non-stylistic standards which are really interesting, like MISRA.

00:56:21.580 --> 00:56:21.740
<v Jack Ganssle>Okay?

00:56:22.360 --> 00:56:26.240
<v Jack Ganssle>MISRA's got some of the rules I don't like, but most of them I think are pretty reasonable.

00:56:27.140 --> 00:56:28.520
<v Jack Ganssle>Conforming to a standard is important.

00:56:29.260 --> 00:56:29.660
<v Jack Ganssle>Metrics.

00:56:30.480 --> 00:56:33.780
<v Jack Ganssle>If you're not measuring things, you really don't know how you're doing.

00:56:33.780 --> 00:56:35.160
<v Jack Ganssle>Measuring bug rates.

00:56:36.000 --> 00:56:39.800
<v Jack Ganssle>I believe in measuring your productivity as well.

00:56:40.460 --> 00:56:43.640
<v Jack Ganssle>Measuring how much time you're spending on different aspects of the project.

00:56:43.980 --> 00:56:45.540
<v Jack Ganssle>Because if you don't do that, you can't improve.

00:56:45.660 --> 00:56:49.320
<v Jack Ganssle>You have no benchmark to evaluate yourself against.

00:56:50.100 --> 00:56:53.040
<v Jack Ganssle>I don't see too many companies that are really good at that.

00:56:54.460 --> 00:56:58.020
<v Chris Gammell>So, if I could ask a selfish question now, because that's the kind of questions I ask.

00:56:58.380 --> 00:57:00.360
<v Chris Gammell>What about people that are kind of on their own?

00:57:00.360 --> 00:57:07.080
<v Chris Gammell>And so, obviously, me as a consultant, but also people that are listening who are hobbyists, they want to get better at coding.

00:57:07.420 --> 00:57:10.000
<v Chris Gammell>Or, you know, just people that are maybe just at small companies.

00:57:10.140 --> 00:57:11.400
<v Chris Gammell>They're the only firmware person.

00:57:11.500 --> 00:57:12.480
<v Chris Gammell>They're the only software person.

00:57:13.020 --> 00:57:16.080
<v Chris Gammell>What do you tell them when they're not in a company setting now?

00:57:16.140 --> 00:57:18.820
<v Chris Gammell>There's not the review capabilities even.

00:57:18.960 --> 00:57:20.600
<v Chris Gammell>So, like, then how do they get better?

00:57:20.600 --> 00:57:24.940
<v Jack Ganssle>I'm not sure I would include hobbyists in this category.

00:57:25.160 --> 00:57:26.200
<v Jack Ganssle>I'll get back to that.

00:57:26.300 --> 00:57:35.260
<v Jack Ganssle>But for single person consultants, which I've done as well, I think it starts with an absolute commitment to craftsmanship.

00:57:35.260 --> 00:57:43.540
<v Jack Ganssle>I'm going to write this code, and it is going to just make me put a smile on my face if I look at this 20 years from now.

00:57:44.420 --> 00:57:50.900
<v Jack Ganssle>That means beautifully structured stuff the best you can, naming conventions that make a ton of sense.

00:57:50.980 --> 00:57:53.060
<v Jack Ganssle>And we know how to do this stuff.

00:57:53.920 --> 00:57:55.460
<v Jack Ganssle>Code review is a giant problem.

00:57:55.460 --> 00:58:05.500
<v Jack Ganssle>So, what I recommend is, since there's no associates, colleagues, to review it, put it on the shelf for a few days or a week before you test it.

00:58:06.180 --> 00:58:06.640
<v Chris Gammell>Yeah, yeah.

00:58:06.900 --> 00:58:08.980
<v Jack Ganssle>You know, this is what we do if you edit prose.

00:58:09.220 --> 00:58:10.280
<v Jack Ganssle>It's the same sort of thing.

00:58:10.340 --> 00:58:11.480
<v Jack Ganssle>So, you forget what you wrote.

00:58:12.280 --> 00:58:17.680
<v Jack Ganssle>And just by knowing that you're holding yourself to that kind of a standard, and measure.

00:58:18.240 --> 00:58:20.160
<v Jack Ganssle>You know, what are my bug rates?

00:58:20.260 --> 00:58:21.820
<v Jack Ganssle>Why are these so high?

00:58:22.520 --> 00:58:23.720
<v Jack Ganssle>What can I do differently?

00:58:23.720 --> 00:58:30.200
<v Jack Ganssle>You're constantly evaluating yourself against some sort of, like I say, against some metrics.

00:58:31.120 --> 00:58:32.640
<v Jack Ganssle>You know, hey, you're a double E.

00:58:33.080 --> 00:58:38.400
<v Jack Ganssle>We know that an electronic system without feedback oscillates out of control.

00:58:39.060 --> 00:58:40.420
<v Jack Ganssle>Feedback stabilizes systems.

00:58:41.300 --> 00:58:43.820
<v Jack Ganssle>And it stabilizes human systems as well, too.

00:58:45.260 --> 00:58:51.600
<v Jack Ganssle>So, it means being a bit more careful, relying more on professionalism and craftsmanship.

00:58:51.600 --> 00:58:56.180
<v Jack Ganssle>For a hobbyist, I'm not sure what to say.

00:58:56.600 --> 00:58:58.080
<v Jack Ganssle>It's fun to write code.

00:58:58.720 --> 00:59:00.920
<v Jack Ganssle>Does a hobbyist need that level of rigor?

00:59:01.420 --> 00:59:02.340
<v Jack Ganssle>Probably not.

00:59:03.140 --> 00:59:06.600
<v Jack Ganssle>You know, the code you're writing very likely has to work for years.

00:59:07.120 --> 00:59:08.700
<v Jack Ganssle>A hobbyist has to work for an afternoon.

00:59:09.080 --> 00:59:09.640
<v Jack Ganssle>Right.

00:59:09.640 --> 00:59:09.840
<v Jack Ganssle>Right.

00:59:12.040 --> 00:59:16.680
<v Chris Gammell>Actually, that's probably more like the research kind of feel than it is the development type

00:59:16.680 --> 00:59:17.080
<v Chris Gammell>of thing, right?

00:59:17.900 --> 00:59:18.220
<v Chris Gammell>Exactly.

00:59:18.360 --> 00:59:22.500
<v Chris Gammell>Hobbius are researching new things, new ways to do things, new ideas.

00:59:23.000 --> 00:59:24.300
<v Jack Ganssle>And they're learning things.

00:59:24.700 --> 00:59:29.160
<v Jack Ganssle>And, you know, if you're learning things, you're going to do a lot of incorrect stuff, make a

00:59:29.160 --> 00:59:29.680
<v Jack Ganssle>lot of mistakes.

00:59:29.680 --> 00:59:30.180
<v Jack Ganssle>That's fine.

00:59:30.280 --> 00:59:30.680
<v Jack Ganssle>That's cool.

00:59:30.840 --> 00:59:31.520
<v Jack Ganssle>No problem.

00:59:31.580 --> 00:59:32.420
<v Jack Ganssle>That's how we learn things.

00:59:32.420 --> 00:59:34.140
<v Jack Ganssle>I saw a project once.

00:59:34.720 --> 00:59:35.840
<v Jack Ganssle>This was in Sweden.

00:59:36.700 --> 00:59:41.660
<v Jack Ganssle>It was an enormous project, a big system being done in C++, which I thought was a pretty good

00:59:41.660 --> 00:59:42.000
<v Jack Ganssle>choice.

00:59:42.800 --> 00:59:48.600
<v Jack Ganssle>But when they started the project, 40 people on it, 39 had never written one line of OO

00:59:48.600 --> 00:59:48.980
<v Jack Ganssle>code.

00:59:49.560 --> 00:59:50.000
<v Jack Ganssle>Wow.

00:59:50.260 --> 00:59:51.220
<v Jack Ganssle>It was a catastrophe.

00:59:51.780 --> 00:59:56.200
<v Jack Ganssle>You know, you have to do practice projects that you really screw up, but that you throw

00:59:56.200 --> 00:59:56.500
<v Jack Ganssle>away.

00:59:56.900 --> 00:59:57.380
<v Jack Ganssle>Yeah.

00:59:57.420 --> 00:59:58.900
<v Jack Ganssle>To learn something like this.

00:59:59.540 --> 00:59:59.900
<v Chris Gammell>Wow.

00:59:59.900 --> 01:00:04.740
<v Chris Gammell>So if I could go back to the testing thing too.

01:00:04.840 --> 01:00:09.780
<v Chris Gammell>So you said, you said as a solo, you might write some code, you got it to a standard,

01:00:10.180 --> 01:00:13.140
<v Chris Gammell>you stick it on a shelf for a day or two, you come back, you look at it before you're

01:00:13.140 --> 01:00:13.620
<v Chris Gammell>testing it.

01:00:14.000 --> 01:00:17.460
<v Chris Gammell>And so are you saying that you would do that so that it's like, you've got this mental

01:00:17.460 --> 01:00:21.760
<v Chris Gammell>model of like what it should be doing before you ever actually load it onto a device?

01:00:21.820 --> 01:00:23.500
<v Chris Gammell>Is that kind of what you're talking about there?

01:00:24.180 --> 01:00:24.500
<v Jack Ganssle>Yes.

01:00:24.540 --> 01:00:29.140
<v Jack Ganssle>And even more than a model, you're looking at it again very closely to make sure it's going

01:00:29.140 --> 01:00:29.500
<v Jack Ganssle>to work.

01:00:29.900 --> 01:00:35.000
<v Jack Ganssle>The goal of, if it's done correctly, the goal of tests is not to find bugs.

01:00:35.100 --> 01:00:37.000
<v Jack Ganssle>The goal of tests is to prove everything's perfect.

01:00:37.780 --> 01:00:37.920
<v Jack Ganssle>Okay.

01:00:37.940 --> 01:00:39.720
<v Jack Ganssle>Now the truth is we will find bugs.

01:00:40.680 --> 01:00:46.260
<v Jack Ganssle>Back in the bad old days when I learned a program, we worked on mainframes and you would

01:00:46.260 --> 01:00:51.180
<v Jack Ganssle>submit your card deck and the high priest of the computer center would say, come back

01:00:51.180 --> 01:00:53.320
<v Jack Ganssle>in 24, 48 hours for your run.

01:00:53.700 --> 01:00:55.720
<v Jack Ganssle>You couldn't afford stupid mistakes.

01:00:55.720 --> 01:00:59.180
<v Jack Ganssle>And so we would do what was called playing computer.

01:00:59.320 --> 01:01:04.400
<v Jack Ganssle>We would get a listing and execute that code in our head as literally as possible.

01:01:04.740 --> 01:01:05.260
<v Chris Gammell>Yeah.

01:01:05.260 --> 01:01:10.900
<v Jack Ganssle>And we need a bit more of that on focus on getting it right before we actually turn it on.

01:01:11.960 --> 01:01:12.700
<v Chris Gammell>That's interesting.

01:01:12.700 --> 01:01:20.600
<v Chris Gammell>So one of the things that I have found to be moving my way from my bad old days of just

01:01:20.600 --> 01:01:26.900
<v Chris Gammell>Arduino and debugging through a serial terminal, stuff like that, I found just having access

01:01:26.900 --> 01:01:33.160
<v Chris Gammell>to debuggers and peeking into memories and just being able to view registers at the drop

01:01:33.160 --> 01:01:34.500
<v Chris Gammell>of a hat has been really, really useful.

01:01:34.500 --> 01:01:38.520
<v Chris Gammell>So are you saying that like that is not part of the testing?

01:01:38.680 --> 01:01:42.280
<v Chris Gammell>I mean, like where, where does then the development phase kind of like play into that?

01:01:42.400 --> 01:01:45.760
<v Chris Gammell>Like if you're just kind of trying to make sure you're doing things correctly.

01:01:46.520 --> 01:01:47.440
<v Jack Ganssle>Oh, by all means.

01:01:47.520 --> 01:01:49.260
<v Jack Ganssle>I mean, it's, these tools are phenomenal.

01:01:49.260 --> 01:01:56.580
<v Jack Ganssle>And, you know, whether it's peeking into registers or using, I was playing with a SEGGER's code

01:01:56.580 --> 01:01:57.860
<v Jack Ganssle>coverage tool lately.

01:01:58.600 --> 01:02:00.000
<v Jack Ganssle>I mean, it's phenomenal.

01:02:00.200 --> 01:02:04.560
<v Jack Ganssle>This actually can show you that you've actually tested everything and whatnot.

01:02:04.680 --> 01:02:09.380
<v Jack Ganssle>The tools are great, but the tools aren't going to tell you things like edge conditions.

01:02:10.180 --> 01:02:13.720
<v Jack Ganssle>You know, what if that value becomes a zero for some reason?

01:02:14.220 --> 01:02:17.180
<v Jack Ganssle>There's a reasonable chance that things like that will slip through.

01:02:17.180 --> 01:02:23.300
<v Jack Ganssle>And the only way to find a lot of these problems is by using your, your thinking hat.

01:02:24.100 --> 01:02:24.460
<v Chris Gammell>Yeah.

01:02:24.660 --> 01:02:24.860
<v Chris Gammell>Yeah.

01:02:26.160 --> 01:02:26.520
<v Chris Gammell>Yeah.

01:02:26.540 --> 01:02:28.060
<v Chris Gammell>It's almost like a audit mindset, huh?

01:02:28.080 --> 01:02:32.420
<v Chris Gammell>Of like, uh, I think that maybe it was a joke that I read on your, on the embedded

01:02:32.420 --> 01:02:32.720
<v Chris Gammell>muse.

01:02:32.840 --> 01:02:34.980
<v Chris Gammell>The, uh, the audit person walks into a bar.

01:02:35.100 --> 01:02:37.220
<v Chris Gammell>Is that one of the ones that was on your, I read that somewhere.

01:02:37.600 --> 01:02:38.160
<v Jack Ganssle>It could be.

01:02:38.220 --> 01:02:39.540
<v Chris Gammell>I can't remember anything anymore.

01:02:40.420 --> 01:02:40.580
<v Chris Gammell>Yeah.

01:02:40.960 --> 01:02:45.440
<v Chris Gammell>Audit person walks into a bar, they order a beer, they order pie beers, they order 99 beers,

01:02:45.440 --> 01:02:50.980
<v Chris Gammell>they order negative 4 million, 236,000, you know, like I always like that joke.

01:02:52.180 --> 01:02:55.740
<v Chris Gammell>But like, that's kind of like the throwing, throwing lots of like garbage at a input and

01:02:55.740 --> 01:02:57.500
<v Chris Gammell>like trying to think through what it'll do.

01:02:58.160 --> 01:02:58.500
<v Jack Ganssle>Exactly.

01:02:59.040 --> 01:03:03.780
<v Jack Ganssle>And actually, that's actually something people are talking about today called fuzz testing.

01:03:04.540 --> 01:03:04.840
<v Jack Ganssle>Oh yeah.

01:03:04.840 --> 01:03:05.120
<v Jack Ganssle>Right.

01:03:05.120 --> 01:03:07.220
<v Jack Ganssle>Just fiddle with values and see what happens.

01:03:07.400 --> 01:03:09.920
<v Jack Ganssle>And that's, I think, certainly valuable.

01:03:10.780 --> 01:03:14.040
<v Jack Ganssle>Um, but I think what's more valuable is looking at the inputs.

01:03:14.680 --> 01:03:24.000
<v Jack Ganssle>I'll tell you, 2019 had the most important lesson, I believe, for firmware people in years

01:03:24.000 --> 01:03:27.800
<v Jack Ganssle>with the crash of those two 737 maxes.

01:03:27.800 --> 01:03:28.920
<v Jack Ganssle>Oh yeah.

01:03:29.240 --> 01:03:29.500
<v Chris Gammell>Geez.

01:03:29.920 --> 01:03:36.180
<v Jack Ganssle>Fundamentally, what happened was they believed the sensor data and you should never believe

01:03:36.180 --> 01:03:36.960
<v Jack Ganssle>sensor data.

01:03:37.100 --> 01:03:41.760
<v Jack Ganssle>You should hold it against some physics to make sure, does this make sense?

01:03:42.480 --> 01:03:44.340
<v Jack Ganssle>And I actually did some math on it.

01:03:44.900 --> 01:03:48.660
<v Jack Ganssle>Um, I got the cockpit, uh, uh, data recorder data.

01:03:48.660 --> 01:03:54.860
<v Jack Ganssle>And, uh, the sampling interval was one second and the plane, the sensor set it was from zero

01:03:54.860 --> 01:03:58.500
<v Jack Ganssle>degrees angle of attack to 70 degrees in one cycle, one second.

01:03:59.140 --> 01:03:59.740
<v Chris Gammell>So yeah.

01:03:59.740 --> 01:04:03.760
<v Chris Gammell>Angle attack is the, uh, like how the, it's like, cause it was like the, the aerodynamics

01:04:03.760 --> 01:04:04.800
<v Chris Gammell>had changed on the plane, right?

01:04:04.800 --> 01:04:05.860
<v Chris Gammell>That's why they needed that sensor.

01:04:06.520 --> 01:04:06.920
<v Jack Ganssle>Yes.

01:04:07.680 --> 01:04:11.660
<v Jack Ganssle>Uh, well that sensor was on all aircraft because you want to know what the angle of it, what

01:04:11.660 --> 01:04:14.460
<v Jack Ganssle>the angle of the nose angle is to prevent stalls.

01:04:15.060 --> 01:04:15.780
<v Jack Ganssle>Oh, got it.

01:04:15.820 --> 01:04:15.940
<v Jack Ganssle>Okay.

01:04:15.940 --> 01:04:21.760
<v Jack Ganssle>But, uh, to go from zero to 70 degrees in a second or less, I calculated it would be a

01:04:21.760 --> 01:04:23.680
<v Jack Ganssle>2g force on the pilots.

01:04:25.160 --> 01:04:30.640
<v Jack Ganssle>And if you look at the other data that went into the, uh, the recorder, the airspeed didn't

01:04:30.640 --> 01:04:31.080
<v Jack Ganssle>change.

01:04:31.200 --> 01:04:32.800
<v Jack Ganssle>The altitude didn't change.

01:04:33.020 --> 01:04:36.480
<v Jack Ganssle>All these things would have changed if, if that data had been correct.

01:04:36.940 --> 01:04:41.320
<v Jack Ganssle>And I think that's an example that embedded people need to learn from look at the data

01:04:41.320 --> 01:04:43.780
<v Jack Ganssle>just, but does it make sense?

01:04:44.200 --> 01:04:44.660
<v Chris Gammell>Right.

01:04:44.660 --> 01:04:49.960
<v Jack Ganssle>And I don't know if you saw in my muse, uh, an issue or two ago, I had a whole bunch of

01:04:49.960 --> 01:04:55.240
<v Jack Ganssle>examples of temperature displays from embedded systems that made no sense below absolute

01:04:55.240 --> 01:04:55.660
<v Jack Ganssle>zero.

01:04:56.400 --> 01:05:04.660
<v Jack Ganssle>Um, you know, crazy stuff because the, you know, maybe the hardware broke or something, but

01:05:04.660 --> 01:05:09.460
<v Jack Ganssle>the software should have said, you know, any temperature below absolute zero probably doesn't

01:05:09.460 --> 01:05:10.660
<v Jack Ganssle>make a whole lot of sense.

01:05:10.660 --> 01:05:11.160
<v Jack Ganssle>Yeah.

01:05:11.540 --> 01:05:15.620
<v Chris Gammell>It's just like bounding your outputs, bounding your inputs, that kind of thing of like understanding

01:05:15.620 --> 01:05:19.360
<v Chris Gammell>what reality is and how it's going to play with your system.

01:05:20.280 --> 01:05:20.720
<v Jack Ganssle>Exactly.

01:05:20.720 --> 01:05:27.620
<v Jack Ganssle>And, uh, when I was a young developer, uh, they taught us check your goes intas and your

01:05:27.620 --> 01:05:28.340
<v Jack Ganssle>goes outas.

01:05:28.340 --> 01:05:34.020
<v Jack Ganssle>And today we have a more formal definition.

01:05:34.020 --> 01:05:40.780
<v Jack Ganssle>It's called designed by contract, which is supported by the most recent version of ADA and spark and some other languages,

01:05:40.980 --> 01:05:55.980
<v Jack Ganssle>Eiffel, where basically you put into the code, these constructs, they call contracts that you're the, the compile code looks at what your code is doing versus what you said in these contracts, what it should be doing.

01:05:55.980 --> 01:06:00.400
<v Jack Ganssle>And if something's not right, the flags in error, it's very cool.

01:06:00.520 --> 01:06:01.000
<v Jack Ganssle>Very cool.

01:06:01.060 --> 01:06:03.000
<v Jack Ganssle>It's a shame we don't have it in C or C plus plus.

01:06:03.780 --> 01:06:04.180
<v Chris Gammell>Yeah.

01:06:04.340 --> 01:06:12.740
<v Chris Gammell>Well, speaking of things that persist regardless of, uh, for, for 40 years, I mean, C is probably the, uh, the long time one.

01:06:12.880 --> 01:06:15.320
<v Chris Gammell>Um, but I don't see that going anywhere anytime soon.

01:06:15.400 --> 01:06:15.640
<v Chris Gammell>Anyway.

01:06:15.820 --> 01:06:17.800
<v Jack Ganssle>So no, C is here to stay.

01:06:17.860 --> 01:06:22.280
<v Jack Ganssle>I think in 10,000 years, somebody is going to be running C code for an 8051.

01:06:22.280 --> 01:06:25.480
<v Chris Gammell>We can hope so.

01:06:25.820 --> 01:06:26.520
<v Chris Gammell>Oh man.

01:06:27.760 --> 01:06:28.080
<v Chris Gammell>Yeah.

01:06:28.200 --> 01:06:37.080
<v Chris Gammell>They're, they're tattered, the tattered K and R handed down over generations between from father to son to daughter to, to, to son, whatever, you know, like.

01:06:37.580 --> 01:06:38.880
<v Chris Gammell>It'll be a holy relic.

01:06:39.580 --> 01:06:40.040
<v Chris Gammell>That's right.

01:06:40.140 --> 01:06:40.540
<v Jack Ganssle>That's right.

01:06:41.980 --> 01:06:42.780
<v Jack Ganssle>I don't know.

01:06:42.840 --> 01:06:44.920
<v Jack Ganssle>Have you ever read a canticle for Leibovitz?

01:06:45.440 --> 01:06:46.240
<v Jack Ganssle>No, I haven't.

01:06:46.240 --> 01:06:58.240
<v Jack Ganssle>It's a dystopian tale, uh, about how the world got blown up from an atomic war and the people rebelled against the scientists and engineers and killed them all off.

01:06:58.700 --> 01:07:05.040
<v Jack Ganssle>And hundreds of years have gone by and all these schematics and things, blueprints have been discovered.

01:07:05.040 --> 01:07:10.400
<v Jack Ganssle>And this holy order of monks is copying them over laboriously year after year.

01:07:10.460 --> 01:07:13.180
<v Jack Ganssle>They have no idea what any of it means, but it looks important.

01:07:13.560 --> 01:07:15.040
<v Jack Ganssle>They're trying to preserve these documents.

01:07:15.240 --> 01:07:16.500
<v Jack Ganssle>Could be the same with K and R.

01:07:17.240 --> 01:07:17.980
<v Chris Gammell>There you go.

01:07:18.180 --> 01:07:18.620
<v Chris Gammell>There you go.

01:07:21.360 --> 01:07:24.520
<v Chris Gammell>Well, Jack, this has been a great, uh, catching up here.

01:07:24.800 --> 01:07:28.100
<v Chris Gammell>Where can people find out more about you and what you like talking about?

01:07:28.100 --> 01:07:34.060
<v Jack Ganssle>Uh, my website is www.ganzel.com, G-A-N-S-S-L-E.

01:07:34.760 --> 01:07:40.640
<v Jack Ganssle>There's thousands of pages, I think about 1,500 pages of information on there.

01:07:40.940 --> 01:07:45.340
<v Jack Ganssle>And, uh, they are, feel free to send me an email at jackatganzel.com.

01:07:46.140 --> 01:07:46.540
<v Jack Ganssle>Awesome.

01:07:46.960 --> 01:07:48.080
<v Chris Gammell>Well, Jack, thanks for coming back.

01:07:48.120 --> 01:07:48.900
<v Chris Gammell>I really appreciate it.

01:07:48.940 --> 01:07:51.000
<v Chris Gammell>And it's always, it's always a pleasure talking to you.

01:07:51.420 --> 01:07:52.340
<v Chris Gammell>Oh, thanks, Chris.

01:07:52.360 --> 01:07:53.080
<v Chris Gammell>I really enjoyed it.

01:07:53.140 --> 01:07:54.520
<v Jack Ganssle>You take care and stay safe, okay?

01:07:54.920 --> 01:07:55.540
<v Chris Gammell>Yeah, you too.

01:07:55.840 --> 01:07:56.300
<v Jack Ganssle>Talk to you soon.

01:07:56.500 --> 01:07:56.720
<v Jack Ganssle>Bye.

01:07:56.720 --> 01:07:56.760
<v Jack Ganssle>Bye.

01:07:58.100 --> 01:07:59.100
<v Speaker ?>Bye.
